git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
80dd99b
)
sched: small optimisation of can_migrate_task()
author
Luis Henriques
<henrix@sapo.pt>
Mon, 16 Mar 2009 19:59:02 +0000
(19:59 +0000)
committer
Ingo Molnar
<mingo@elte.hu>
Tue, 17 Mar 2009 11:04:41 +0000
(12:04 +0100)
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>
No differences found