summaryrefslogtreecommitdiff
path: root/kernel/locking
diff options
context:
space:
mode:
authorUladzislau Rezki (Sony) <urezki@gmail.com>2020-11-20 12:49:16 +0100
committerPaul E. McKenney <paulmck@kernel.org>2021-01-04 13:42:04 -0800
commit5130b8fd06901c1b3a4bd0d0f5c5ea99b2b0a6f0 (patch)
tree1973acaeb4d8bea3c0633d09d9a191dedf64e117 /kernel/locking
parent84109ab58590dc6c4e7eb36329fdc7ec121ed5a5 (diff)
rcu: Introduce kfree_rcu() single-argument macro
There is a kvfree_rcu() single argument macro that handles pointers returned by kvmalloc(). Even though it also handles pointer returned by kmalloc(), readability suffers. This commit therefore updates the kfree_rcu() macro to explicitly pair with kmalloc(), thus improving readability. Signed-off-by: Uladzislau Rezki (Sony) <urezki@gmail.com> Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Diffstat (limited to 'kernel/locking')
0 files changed, 0 insertions, 0 deletions