diff options
author | Paul E. McKenney <paulmck@linux.ibm.com> | 2018-11-07 13:53:34 -0800 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.ibm.com> | 2018-12-01 12:38:48 -0800 |
commit | e3e740544173ef0dd8bffbf158182a7748e6c678 (patch) | |
tree | eb7ac285649fd194b5fe831270e9cc85a5f6acf9 /kernel/livepatch/patch.c | |
parent | 1a56f7d53b5c8e82442e86eeac0b5d549088ee42 (diff) | |
download | linux-e3e740544173ef0dd8bffbf158182a7748e6c678.tar.bz2 |
percpu-rwsem: 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, synchronize_sched() can be
replaced by synchronize_rcu(). This commit therefore makes this change,
even though it is but a comment.
Signed-off-by: Paul E. McKenney <paulmck@linux.ibm.com>
Cc: Dennis Zhou <dennis@kernel.org>
Cc: Christoph Lameter <cl@linux.com>
Acked-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'kernel/livepatch/patch.c')
0 files changed, 0 insertions, 0 deletions