summaryrefslogtreecommitdiff
path: root/drivers/vfio
diff options
context:
space:
mode:
authorMarco Elver <elver@google.com>2022-08-29 14:47:15 +0200
committerPeter Zijlstra <peterz@infradead.org>2022-08-30 10:56:23 +0200
commit01fe8a3f818e1074a9a95d624be4549ee7ea2b2b (patch)
tree1990719e80d616d0b780490ea75e5c091292dcf3 /drivers/vfio
parentf95e5a3d59011eec1257d0e76de1e1f8969d426f (diff)
locking/percpu-rwsem: Add percpu_is_write_locked() and percpu_is_read_locked()
Implement simple accessors to probe percpu-rwsem's locked state: percpu_is_write_locked(), percpu_is_read_locked(). Signed-off-by: Marco Elver <elver@google.com> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Reviewed-by: Dmitry Vyukov <dvyukov@google.com> Acked-by: Ian Rogers <irogers@google.com> Link: https://lore.kernel.org/r/20220829124719.675715-11-elver@google.com
Diffstat (limited to 'drivers/vfio')
0 files changed, 0 insertions, 0 deletions