Re: [PATCH v4] membarrier: expedited private command

2017-07-31 Thread Paul E. McKenney
On Mon, Jul 31, 2017 at 12:23:44PM -0700, Dave Watson wrote: > On 07/28/17 04:40 PM, Mathieu Desnoyers wrote: > > Implement MEMBARRIER_CMD_PRIVATE_EXPEDITED with IPIs using cpumask built > > from all runqueues for which current thread's mm is the same as the > > thread calling sys_membarrier. It ex

Re: [PATCH v4] membarrier: expedited private command

2017-07-31 Thread Dave Watson
On 07/28/17 04:40 PM, Mathieu Desnoyers wrote: > Implement MEMBARRIER_CMD_PRIVATE_EXPEDITED with IPIs using cpumask built > from all runqueues for which current thread's mm is the same as the > thread calling sys_membarrier. It executes faster than the non-expedited > variant (no blocking). It also

Re: [PATCH v4] membarrier: expedited private command

2017-07-28 Thread Paul E. McKenney
On Fri, Jul 28, 2017 at 04:40:40PM -0400, Mathieu Desnoyers wrote: > Implement MEMBARRIER_CMD_PRIVATE_EXPEDITED with IPIs using cpumask built > from all runqueues for which current thread's mm is the same as the > thread calling sys_membarrier. It executes faster than the non-expedited > variant (n

[PATCH v4] membarrier: expedited private command

2017-07-28 Thread Mathieu Desnoyers
Implement MEMBARRIER_CMD_PRIVATE_EXPEDITED with IPIs using cpumask built from all runqueues for which current thread's mm is the same as the thread calling sys_membarrier. It executes faster than the non-expedited variant (no blocking). It also works on NOHZ_FULL configurations. Scheduler-wise, it