summaryrefslogtreecommitdiff
path: root/cmd_debug.c
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@gmail.com>2019-03-08 14:41:57 -0500
committerKent Overstreet <kent.overstreet@gmail.com>2019-03-08 14:41:57 -0500
commit0aaa8494121f61f76c93505df6a481a488ab799a (patch)
tree3a38799686e0207c17c20504148d2e366a9935f3 /cmd_debug.c
parent166e32606ef3508517ed2ea2f6087e5f332981c1 (diff)
use a mutex for percpu rwsemaphores
bcachefs is using a percpu rwsem to protect percpu data structures, and in userspace we don't have real percpu data structures - so we need to guard all access to them with a mutex.
Diffstat (limited to 'cmd_debug.c')
0 files changed, 0 insertions, 0 deletions