diff options
author | Michael S. Tsirkin <mst@redhat.com> | 2013-09-22 17:20:54 +0300 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2013-09-25 13:51:06 +0200 |
commit | 4314895165623879937f46d767673654662b570c (patch) | |
tree | f2927ee7e93b788541dae19af0cb4070ce3d85c4 /fs/seq_file.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 <mst@redhat.com>
Signed-off-by: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/20130922142054.GA11499@redhat.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'fs/seq_file.c')
0 files changed, 0 insertions, 0 deletions