]> git.baikalelectronics.ru Git - kernel.git/commit
sched: optimize schedule() a bit on SMP
authorIngo Molnar <mingo@elte.hu>
Mon, 15 Oct 2007 15:00:13 +0000 (17:00 +0200)
committerIngo Molnar <mingo@elte.hu>
Mon, 15 Oct 2007 15:00:13 +0000 (17:00 +0200)
commitc97eb0a19d245c4e35ab3a3d57ce59aa97029a31
tree86bd6a49002d97de371c7e89a184a8b44c02b8d7
parente38bc081600d34b75bf005c8b00cc79df1b5d953
sched: optimize schedule() a bit on SMP

optimize schedule() a bit on SMP, by moving the rq-clock update
outside the rq lock.

code size is the same:

      text    data     bss     dec     hex filename
     25725    2666      96   28487    6f47 sched.o.before
     25725    2666      96   28487    6f47 sched.o.after

Signed-off-by: Ingo Molnar <mingo@elte.hu>
Reviewed-by: Thomas Gleixner <tglx@linutronix.de>
kernel/sched.c