diff options
author | 2021-10-21 14:30:51 +0100 | |
---|---|---|
committer | 2021-10-21 08:37:26 -0600 | |
commit | 3b13c168186c115501ee7d194460ba2f8c825155 (patch) | |
tree | 1ab6f6dda7d1b04e41c3bb4adbbc0338ff350693 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | block: convert fops.c magic constants to SHIFT_SECTOR (diff) | |
download | wireguard-linux-3b13c168186c115501ee7d194460ba2f8c825155.tar.xz wireguard-linux-3b13c168186c115501ee7d194460ba2f8c825155.zip |
percpu_ref: percpu_ref_tryget_live() version holding RCU
Add percpu_ref_tryget_live_rcu(), which is a version of
percpu_ref_tryget_live() but the user is responsible for enclosing it in
a RCU read lock section.
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Acked-by: Dennis Zhou <dennis@kernel.org>
Link: https://lore.kernel.org/r/3066500d7a6eb3e03f10adf98b87fdb3b1c49db8.1634822969.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions