diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-31 02:03:32 +0100 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2024-01-01 17:47:38 +0100 |
commit | 011173321f6fb36f47c3aaaf04218bf758b29e17 (patch) | |
tree | 139d8ac4fde351e503d87251c67e5f2083d5b671 /tools/perf/include | |
parent | powerpc: Export kvm_guest static key, for bcachefs six locks (diff) | |
download | linux-011173321f6fb36f47c3aaaf04218bf758b29e17.tar.xz linux-011173321f6fb36f47c3aaaf04218bf758b29e17.zip |
bcachefs: six locks: Simplify optimistic spinning
osq lock maintainers don't want it to be used outside of kernel/locking/
- but, we can do better.
Since we have lock handoff signalled via waitlist entries, there's no
reason for optimistic spinning to have to look at the lock at all -
aside from checking lock-owner; we can just spin looking at our waitlist
entry.
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'tools/perf/include')
0 files changed, 0 insertions, 0 deletions