]> git.sesse.net Git - bcachefs-tools-debian/commit
bit_spinlocks now use futexes
authorKent Overstreet <kent.overstreet@gmail.com>
Mon, 26 Apr 2021 23:40:09 +0000 (19:40 -0400)
committerKent Overstreet <kent.overstreet@gmail.com>
Tue, 27 Apr 2021 00:18:47 +0000 (20:18 -0400)
commita14d39d7ac45eebe45ed0772d1ed837f15b15af4
treee05a03cfe138fde9f0bceae21f244aaf00c5d9f5
parentedc3ffe8f25506e60218aa6eb5cbcd3a019f6210
bit_spinlocks now use futexes

Spinlocks aren't a good idea in userspace, where we can't actually
disable preemption.

Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
include/linux/bit_spinlock.h
include/linux/rhashtable.h