diff options
author | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2018-07-11 15:36:43 -0700 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.ibm.com> | 2018-11-08 21:43:20 -0800 |
commit | 78d125d33858d00756baf0f40e75e77dcbfbea55 (patch) | |
tree | 767f50ab5649210e70a8021ff373feb07a57408a /arch/sparc/Kconfig.debug | |
parent | rcu: Consolidate the RCU update functions invoked by sync.c (diff) | |
download | linux-dev-78d125d33858d00756baf0f40e75e77dcbfbea55.tar.xz linux-dev-78d125d33858d00756baf0f40e75e77dcbfbea55.zip |
sched/membarrier: Replace synchronize_sched() with synchronize_rcu()
Now that synchronize_rcu() waits for preempt-disable regions of code
as well as RCU read-side critical sections, the synchronize_sched()
in sys_membarrier() can be replaced by synchronize_rcu(). This commit
therefore makes this change.
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Cc: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Diffstat (limited to 'arch/sparc/Kconfig.debug')
0 files changed, 0 insertions, 0 deletions