diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2019-03-08 14:41:57 -0500 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@gmail.com> | 2019-03-08 14:41:57 -0500 |
commit | 0aaa8494121f61f76c93505df6a481a488ab799a (patch) | |
tree | 3a38799686e0207c17c20504148d2e366a9935f3 /cmd_debug.c | |
parent | 166e32606ef3508517ed2ea2f6087e5f332981c1 (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