Messages in this thread | | | Subject | Re: [PATCH 01/18] move do_timer() from kernel/timer.c into kernel/time/timekeeping.c | From | Peter Zijlstra <> | Date | Tue, 25 Jan 2011 17:51:59 +0100 |
| |
On Tue, 2011-01-25 at 11:34 +0100, Peter Zijlstra wrote:
> Something like the (completely untested) below would do I guess:
> @@ -8172,6 +8180,8 @@ void __init sched_init(void) > init_idle(current, smp_processor_id()); > > calc_load_update = jiffies + LOAD_FREQ; > + global_load_timer.slack = 0; > + mod_timer(&global_load_timer, calc_load_update + 10); > > /* > * During early bootup we pretend to be a normal task:
OK, so calling mod_timer() before init_timers() is _not_ a good idea ;-)
| |