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)
commit8e717b194ce3f3ac9e6acc63f66fe274cdf9cde1
tree8fee6962d5d148dbfd013eb0111cc015da2b3067
parent7bfd0485871df01764ca89d5679f128d870aef1a
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