Re: [PATCH 1/5] user_hooks: New user hooks subsystem

From: Frederic Weisbecker
Date: Fri Jul 27 2012 - 12:58:30 EST


On Fri, Jul 27, 2012 at 09:40:54AM -0700, Paul E. McKenney wrote:
> On Fri, Jul 27, 2012 at 05:40:30PM +0200, Frederic Weisbecker wrote:
> > Create a new subsystem that handles the hooks on kernel/user
> > boundaries currently used by RCU for its userspace extended
> > quiescent state.
> >
> > We need to pull this up from RCU into this new level of indirection
> > because these hooks are also going to be used to implement an "on
> > demand" generic virtual cputime accounting. A necessary step to
> > shutdown the tick while still accounting the cputime.
>
> So this eliminates the case where the architecture might enter an
> RCU extended quiescent state multiple times, but exit it only once?
> (I am hoping that it does...)

Yeah. It should handle that.
--
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/