]> www.infradead.org Git - users/jedix/linux-maple.git/commit
rcu/kvfree: Move some functions under CONFIG_TINY_RCU
authorUladzislau Rezki (Sony) <urezki@gmail.com>
Thu, 12 Dec 2024 18:02:05 +0000 (19:02 +0100)
committerVlastimil Babka <vbabka@suse.cz>
Sat, 11 Jan 2025 19:39:19 +0000 (20:39 +0100)
commitd824ed707ba257e508d83126cf1127ce2fd98139
tree37b7bac5a7bf02cc03371214f7448b26bcd102c3
parent0f52b4db4f91320569311b97a1a14a18fb8ff256
rcu/kvfree: Move some functions under CONFIG_TINY_RCU

Currently when a tiny RCU is enabled, the tree.c file is not
compiled, thus duplicating function names do not conflict with
each other.

Because of moving of kvfree_rcu() functionality to the SLAB,
we have to reorder some functions and place them together under
CONFIG_TINY_RCU macro definition. Therefore, those functions name
will not conflict when a kernel is compiled for CONFIG_TINY_RCU
flavor.

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>
kernel/rcu/tree.c