Re: [RFC GIT PULL] nohz: Full dynticks rq clock handling

From: Frederic Weisbecker
Date: Thu Apr 11 2013 - 11:11:24 EST


On Wed, Apr 10, 2013 at 12:26:43PM +0200, Peter Zijlstra wrote:
>
> Another thing I just noticed; our update_curr() assumes its called at
> least once every 4 odd seconds (2^32 ns like).
>
> update_curr() is 'required' for things like task runtime stats and
> everything that hangs off of that like cputimers etc.
>
> Now I'm not entirely sure how the nr_running==1 nohz case deals with
> this, but I can imagine it might take a while. In this case we might
> need to 'fix' update_curr() to not asume the time delta fits in 32
> bits.
>

Good catch, this is not handled yet.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/