lkml.org 
[lkml]   [2011]   [Jan]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH 01/18] move do_timer() from kernel/timer.c into kernel/time/timekeeping.c
From
Date
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 ;-)


\
 
 \ /
  Last update: 2011-01-25 17:53    [W:0.129 / U:0.192 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site