summaryrefslogtreecommitdiff
path: root/arch/x86/include/asm/bitops.h
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@redhat.com>2013-09-22 18:20:54 +0400
committerIngo Molnar <mingo@kernel.org>2013-09-25 15:51:06 +0400
commit4314895165623879937f46d767673654662b570c (patch)
treef2927ee7e93b788541dae19af0cb4070ce3d85c4 /arch/x86/include/asm/bitops.h
parentf48627e686a69f5215cb0761e731edb3d9859dd9 (diff)
downloadlinux-4314895165623879937f46d767673654662b570c.tar.xz
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 'arch/x86/include/asm/bitops.h')
0 files changed, 0 insertions, 0 deletions