sched: Use this_rq() helper
authorNathan Zimmer <nzimmer@sgi.com>
Thu, 9 May 2013 16:24:03 +0000 (11:24 -0500)
committerIngo Molnar <mingo@kernel.org>
Fri, 10 May 2013 08:35:56 +0000 (10:35 +0200)
It is a few instructions more efficent to and slightly more
readable to use this_rq()-> instead of cpu_rq(smp_processor_id())-> .

Size comparison of kernel/sched/fair.o:

   text    data     bss     dec     hex filename
  27972     122      26   28120    6dd8 fair.o.before
  27956     122      26   28104    6dc8 fair.o.after

Signed-off-by: Nathan Zimmer <nzimmer@sgi.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/1368116643-87971-1-git-send-email-nzimmer@sgi.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>

No differences found