[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1295974319.28776.1070.camel@laptop>
Date: Tue, 25 Jan 2011 17:51:59 +0100
From: Peter Zijlstra <peterz@...radead.org>
To: Thomas Gleixner <tglx@...utronix.de>
Cc: john stultz <johnstul@...ibm.com>, Torben Hohn <torbenh@....de>,
LKML <linux-kernel@...r.kernel.org>, hch@...radead.org,
yong.zhang0@...il.com
Subject: Re: [PATCH 01/18] move do_timer() from kernel/timer.c into
kernel/time/timekeeping.c
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 ;-)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists