[PATCH tip/core/rcu 03/20] Fix: Disable sys_membarrier when nohz_full is enabled

2017-01-14 Thread Paul E. McKenney
From: Mathieu Desnoyers Userspace applications should be allowed to expect the membarrier system call with MEMBARRIER_CMD_SHARED command to issue memory barriers on nohz_full CPUs, but synchronize_sched() does not take those into account. Given that we do not

[PATCH tip/core/rcu 03/20] Fix: Disable sys_membarrier when nohz_full is enabled

2017-01-14 Thread Paul E. McKenney
From: Mathieu Desnoyers Userspace applications should be allowed to expect the membarrier system call with MEMBARRIER_CMD_SHARED command to issue memory barriers on nohz_full CPUs, but synchronize_sched() does not take those into account. Given that we do not want unrelated processes to be able