diff options
author | Michael S. Tsirkin <[email protected]> | 2013-09-22 17:20:54 +0300 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2013-09-25 13:51:06 +0200 |
commit | 4314895165623879937f46d767673654662b570c (patch) | |
tree | f2927ee7e93b788541dae19af0cb4070ce3d85c4 /lib/mpi/mpiutil.c | |
parent | f48627e686a69f5215cb0761e731edb3d9859dd9 (diff) |
sched: Micro-optimize by dropping unnecessary task_rq() calls
We always know the rq used, let's just pass it around.
This seems to cut the size of scheduler core down a tiny bit:
Before:
[linux]$ size kernel/sched/core.o.orig
text data bss dec hex filename
62760 16130 3876 82766 1434e kernel/sched/core.o.orig
After:
[linux]$ size kernel/sched/core.o.patched
text data bss dec hex filename
62566 16130 3876 82572 1428c kernel/sched/core.o.patched
Probably speeds it up as well.
Signed-off-by: Michael S. Tsirkin <[email protected]>
Signed-off-by: Peter Zijlstra <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions