livepatch: Replace synchronize_sched() with synchronize_rcu()
authorPaul E. McKenney <paulmck@linux.ibm.com>
Wed, 7 Nov 2018 22:16:57 +0000 (14:16 -0800)
committerPaul E. McKenney <paulmck@linux.ibm.com>
Sat, 1 Dec 2018 20:38:50 +0000 (12:38 -0800)
commit6932689e4145f545062ca8c86cf76f38854d63d0
tree49aaaa1e34aab31830da715e073d4510880030cc
parent2af3024cd78f120d027cb44b454186ba9d7dab24
livepatch: 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>
kernel/livepatch/patch.c
kernel/livepatch/transition.c