diff options
author | Uladzislau Rezki (Sony) <urezki@gmail.com> | 2020-11-20 14:49:16 +0300 |
---|---|---|
committer | Paul E. McKenney <paulmck@kernel.org> | 2021-01-05 00:42:04 +0300 |
commit | 5130b8fd06901c1b3a4bd0d0f5c5ea99b2b0a6f0 (patch) | |
tree | 1973acaeb4d8bea3c0633d09d9a191dedf64e117 /security/loadpin | |
parent | 84109ab58590dc6c4e7eb36329fdc7ec121ed5a5 (diff) | |
download | linux-5130b8fd06901c1b3a4bd0d0f5c5ea99b2b0a6f0.tar.xz |
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 'security/loadpin')
0 files changed, 0 insertions, 0 deletions