Re: [PATCH 11/32] nohz/cpuset: Don't turn off the tick if rcu needsit

From: Christoph Lameter
Date: Wed Mar 21 2012 - 10:54:43 EST


On Wed, 21 Mar 2012, Frederic Weisbecker wrote:

> If RCU is waiting for the current CPU to complete a grace
> period, don't turn off the tick. Unlike dynctik-idle, we
> are not necessarily going to enter into rcu extended quiescent
> state, so we may need to keep the tick to note current CPU's
> quiescent states.

Is there any way for userspace to know that the tick is not off yet due to
this? It would make sense for us to have busy loop in user space that
waits until the OS has completed all processing if that avoids future
latencies for the application.

--
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/