Peter Williams bc947631d1 [PATCH] sched: improve efficiency of sched_fork()
Problem:
  sched_fork() has always called scheduler_tick() in some (unlikely)
  circumstances in order to update the current task in light of those
  circumstances.  It has always been the case that the work done by
  scheduler_tick() was more than was required to handle the problem in
  hand but no harm was done except for the waste of a few CPU cycles.

  However, the splitting of scheduler_tick() into two procedures in
  2.6.20-rc1 enables the wasted cycles to be saved as the new procedure
  task_running_tick() does all the work that is required to rectify the
  problem being handled.

Solution:
  Replace the call to scheduler_tick() in sched_fork() with a call to
  task_running_tick().

Signed-off-by: Peter Williams <pwil3058@bigpond.com.au>
Acked-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-12-21 00:11:51 -08:00
..
2006-12-21 00:08:27 -08:00
2006-12-10 09:57:22 -08:00
2006-12-08 08:28:46 -08:00
2006-09-29 09:18:12 -07:00
2006-12-07 08:39:25 -08:00
2006-12-07 08:39:36 -08:00
2006-12-04 02:00:22 -05:00
2006-12-15 08:47:51 -08:00
2006-09-30 01:47:55 +02:00
2006-09-29 09:18:12 -07:00
2006-12-13 09:05:55 -08:00
2006-12-10 09:55:41 -08:00
2006-12-07 08:39:25 -08:00