]> www.infradead.org Git - users/jedix/linux-maple.git/commit
mm/slab: Move kvfree_rcu() into SLAB
authorUladzislau Rezki (Sony) <urezki@gmail.com>
Thu, 12 Dec 2024 18:02:08 +0000 (19:02 +0100)
committerVlastimil Babka <vbabka@suse.cz>
Sat, 11 Jan 2025 19:39:43 +0000 (20:39 +0100)
commitbbe658d6580251d1832d408fa8a71ec254dc4416
tree0882d0669a4cf8153e21d4167e0a67131566b242
parentc18bcd85cea7f71ff956056347df87e559c3ad0f
mm/slab: Move kvfree_rcu() into SLAB

Move kvfree_rcu() functionality to the slab_common.c file.

The reason to have kvfree_rcu() functionality as part of SLAB is that
there is a clear trend and need of closer integration. One of the recent
example is creating a barrier function for SLAB caches.

Another reason is to prevent of having several implementations of RCU
machinery for reclaiming objects after a GP. As future steps, it can be
more integrated(easier) with SLAB internals.

Signed-off-by: Uladzislau Rezki (Sony) <urezki@gmail.com>
Acked-by: Hyeonggon Yoo <hyeonggon.yoo@sk.com>
Tested-by: Hyeonggon Yoo <hyeonggon.yoo@sk.com>
Signed-off-by: Vlastimil Babka <vbabka@suse.cz>
include/linux/rcupdate.h
include/linux/slab.h
kernel/rcu/tree.c
mm/slab_common.c