Re: [PATCH 0/6] x86/cpu hotplug: Wake up offline CPU via mwait or nmi

From: Paul E. McKenney
Date: Wed Jun 06 2012 - 10:44:40 EST


On Wed, Jun 06, 2012 at 10:42:55AM +0200, Peter Zijlstra wrote:
> On Tue, 2012-06-05 at 15:12 -0700, Paul E. McKenney wrote:
> > > RCU has similar nasties.
> >
> > I am working to rid RCU of this sort of thing. I have rcu_barrier() so
> > that it avoids messing with CPUs that don't have callbacks, which will
> > be almost all of the idle CPUs, especially for CONFIG_RCU_FAST_NO_HZ=y.
> > I believe that I have also removed all of RCU's dependencies on CPU
> > hotplug's using kstopmachine, though Murphy would say otherwise.
> >
> > I still need to fix up synchronize_sched_expedited(), but that is on
> > the list. I considered getting rid of this one, but I am probably going
> > to have to make synchronize_sched() map to it during boot time to keep
> > the boot-speed demons satisfied.
>
> Not the point really. Its perfectly fine for applications in an
> 'isolated' set to use system calls, hence they get to participate in RCU
> state.
>
> I don't think the isolation means userspace while(1) applications is
> interesting. Sure, some people do this, and we should dtrt for them, but
> the far more interesting case is 'regular' applications that do use
> system calls.

OK, I will bite. What are the semantics/properties for your isolated set?

Thanx, Paul

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