commit | c9a863bbb1620dca3af57934cdbb002e852449fc | [log] [tgz] |
---|---|---|
author | Paul E. McKenney <paulmck@linux.ibm.com> | Tue Nov 06 19:09:14 2018 -0800 |
committer | Paul E. McKenney <paulmck@linux.ibm.com> | Tue Nov 27 09:21:43 2018 -0800 |
tree | f7de4b3f809e172da15400bbc76ed08431f96321 | |
parent | 51959d85f32dde9041655936eef206cc3323dc12 [diff] |
sched/membarrier: synchronize_sched() with synchronize_rcu() Now that synchronize_rcu() waits for preempt-disable regions of code as well as RCU read-side critical sections, synchronize_sched() can be replaced by synchronize_rcu(). This commit therefore makes this change. Signed-off-by: Paul E. McKenney <paulmck@linux.ibm.com> Cc: Mathieu Desnoyers <mathieu.desnoyers@efficios.com> Cc: Ingo Molnar <mingo@redhat.com> Cc: Peter Zijlstra <peterz@infradead.org>