]> www.infradead.org Git - users/jedix/linux-maple.git/commit
rcu/kvfree: Adjust names passed into trace functions
authorUladzislau Rezki (Sony) <urezki@gmail.com>
Thu, 12 Dec 2024 18:02:06 +0000 (19:02 +0100)
committerVlastimil Babka <vbabka@suse.cz>
Sat, 11 Jan 2025 19:39:29 +0000 (20:39 +0100)
commitba5cac52d0446f3d606a0c74a6856bcef88a6331
treed49822ba9bf871a96defce255ac6ac62ecfe7d42
parentd824ed707ba257e508d83126cf1127ce2fd98139
rcu/kvfree: Adjust names passed into trace functions

Currently trace functions are supplied with "rcu_state.name"
member which is located in the structure. The problem is that
the "rcu_state" structure variable is local and can not be
accessed from another place.

To address this, this preparation patch passes "slab" string
as a first argument.

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