]> git.baikalelectronics.ru Git - kernel.git/commit
sched: schedule() speedup
authorIngo Molnar <mingo@elte.hu>
Thu, 9 Aug 2007 09:16:46 +0000 (11:16 +0200)
committerIngo Molnar <mingo@elte.hu>
Thu, 9 Aug 2007 09:16:46 +0000 (11:16 +0200)
commit81f78d5c7901b2e079b9fc1ed83747e9cd65ed36
tree8fee6962d5d148dbfd013eb0111cc015da2b3067
parent762a07a1a210c3adfc64d28c36848e99e35868d5
sched: schedule() speedup

speed up schedule(): share the 'now' parameter that deactivate_task()
was calculating internally.

( this also fixes the small accounting window between the deactivate
  call and the pick_next_task() call. )

Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/sched.c