Re: [PATCH tip/core/rcu 4/5] sys_membarrier: Add expedited option

From: Paul E. McKenney
Date: Thu Jul 27 2017 - 10:52:26 EST


On Thu, Jul 27, 2017 at 12:24:22PM +0200, Peter Zijlstra wrote:
> On Wed, Jul 26, 2017 at 11:30:32AM -0700, Paul E. McKenney wrote:
> > The patch I posted reverts to synchronize_sched() in kernels booted with
> > rcupdate.rcu_normal=1. ;-)
>
> So boot parameters are no solution and are only slightly better than
> compile time switches.
>
> What if you have a machine that runs workloads that want both options?
> partitioning and containers are somewhat popular these days and system
> wide tunables don't work for them.

Agreed, these are disadvantages. And again, I will nevertheless be
carrying some variant of this patch until something better is in place,
where that something has been shown to satisfy the needs of the people
requesting this feature.

Thanx, Paul