Peter Zijlstra 4bf0b77158 sched: remove do_div() from __sched_slice()
Yanmin Zhang noticed a nice optimization:

  p = l * nr / nl, nl = l/g -> p = g * nr

which eliminates a do_div() from __sched_period().

Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
2008-01-25 21:08:21 +01:00
..
2008-01-07 14:55:37 -08:00
2007-10-21 02:37:45 -04:00
2007-10-21 02:37:45 -04:00
2007-10-21 02:37:45 -04:00
2007-10-21 02:37:45 -04:00
2007-11-14 18:45:37 -08:00
2007-10-18 14:37:24 -07:00
2008-01-25 21:08:07 +01:00
2008-01-21 19:39:41 -08:00
2007-10-18 14:37:26 -07:00
2006-12-07 08:39:36 -08:00
2007-07-16 09:05:50 -07:00
2007-10-16 09:43:10 -07:00
2006-12-04 02:00:22 -05:00
2007-10-11 22:11:12 +02:00
2007-10-19 11:53:34 -07:00
2007-12-20 15:01:17 +01:00
2007-11-14 18:45:43 -08:00
2008-01-25 21:07:59 +01:00
2008-01-22 09:17:48 -08:00
2007-10-18 14:37:24 -07:00
2007-07-16 09:05:49 -07:00
2007-12-30 17:24:35 +01:00
2007-07-16 09:05:50 -07:00
2007-12-17 19:28:17 -08:00
2007-10-18 14:37:24 -07:00
2008-01-21 19:39:41 -08:00
2007-05-09 08:57:56 +02:00