]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit - mm/slab.c
slab: Replace synchronize_sched() with synchronize_rcu()
authorPaul E. McKenney <paulmck@linux.ibm.com>
Wed, 7 Nov 2018 03:24:33 +0000 (19:24 -0800)
committerPaul E. McKenney <paulmck@linux.ibm.com>
Tue, 27 Nov 2018 17:21:45 +0000 (09:21 -0800)
commit6564a25e6c185e65ca3148ed6e18f80882f6798f
tree6059903229020ea7eea1f048b22ae3dbd44a0024
parent36bd1a8e91c66e9def12958547548aa549de9cbf
slab: 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.

Signed-off-by: Paul E. McKenney <paulmck@linux.ibm.com>
Cc: Christoph Lameter <cl@linux.com>
Cc: Pekka Enberg <penberg@kernel.org>
Cc: David Rientjes <rientjes@google.com>
Cc: Joonsoo Kim <iamjoonsoo.kim@lge.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: <linux-mm@kvack.org>
mm/slab.c
mm/slab_common.c