diff options
author | Luis Henriques <henrix@sapo.pt> | 2009-03-16 19:59:02 +0000 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-03-17 12:04:41 +0100 |
commit | 708dc5125309cd33c5daaad3026cc4ae6ef39c8b (patch) | |
tree | 7a99f6b210ebba4b42123a933345e464e3052eef /fs/quota_v2.c | |
parent | 80dd99b368cf6501be88ab517bbbb5bf352b75b8 (diff) | |
download | blackbird-obmc-linux-708dc5125309cd33c5daaad3026cc4ae6ef39c8b.tar.gz blackbird-obmc-linux-708dc5125309cd33c5daaad3026cc4ae6ef39c8b.zip |
sched: small optimisation of can_migrate_task()
There were 3 invocations of task_hot() in can_migrate_task().
Replace these 3 invocations by only one invocation, cached in
a local variable.
Signed-off-by: Luis Henriques <henrix@sapo.pt>
LKML-Reference: <20090316195902.GA6197@hades.domain.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'fs/quota_v2.c')
0 files changed, 0 insertions, 0 deletions