diff options
author | Paul E. McKenney <paulmck@linux.ibm.com> | 2018-11-07 15:25:13 -0800 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.ibm.com> | 2018-12-01 12:38:51 -0800 |
commit | 4a67e3a79e3bdc47dfd0c85a1888067d95a0282c (patch) | |
tree | d4c78f1e9acf06345ceab3174bd6112c57d441c0 /tools/testing/selftests/rcutorture | |
parent | net/decnet: Replace rcu_barrier_bh() with rcu_barrier() (diff) | |
download | linux-dev-4a67e3a79e3bdc47dfd0c85a1888067d95a0282c.tar.xz linux-dev-4a67e3a79e3bdc47dfd0c85a1888067d95a0282c.zip |
tools/kernel.h: 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: Matthew Wilcox <willy@infradead.org>
Cc: <linux-kernel@vger.kernel.org>
Diffstat (limited to 'tools/testing/selftests/rcutorture')
0 files changed, 0 insertions, 0 deletions