]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit - kernel/module.c
modules: Replace synchronize_sched() and call_rcu_sched()
authorPaul E. McKenney <paulmck@linux.ibm.com>
Wed, 7 Nov 2018 03:17:01 +0000 (19:17 -0800)
committerPaul E. McKenney <paulmck@linux.ibm.com>
Tue, 27 Nov 2018 17:21:43 +0000 (09:21 -0800)
commitcb2f55369d3a9e6cf5c34d2da39eb242279a582d
tree562c99382598ad7d2029601df7ee8a924500f8ea
parentc9a863bbb1620dca3af57934cdbb002e852449fc
modules: Replace synchronize_sched() and call_rcu_sched()

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().  Similarly, call_rcu_sched() can be
replaced by call_rcu().  This commit therefore makes these changes.

Signed-off-by: Paul E. McKenney <paulmck@linux.ibm.com>
Acked-by: Jessica Yu <jeyu@kernel.org>
kernel/module.c