aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts
diff options
context:
space:
mode:
authorKent Overstreet <[email protected]>2023-08-12 15:05:06 -0400
committerKent Overstreet <[email protected]>2023-10-22 17:10:10 -0400
commitc294ea50da4b1a0ee84253f46391aa87a6efe91c (patch)
tree681f242bac712ffaf718ffb54012b5b7c23e9d8c /tools/perf/scripts
parentc036359197705e5b133b30154771c3ebad5698b0 (diff)
bcachefs: six locks: Fix missing barrier on wait->lock_acquired
Six locks do lock handoff via the wakeup path: the thread doing the wakeup also takes the lock on behalf of the waiter, which means the waiter only has to look at its waitlist entry, and doesn't have to touch the lock cacheline while another thread is using it. Linus noticed that this needs a real barrier, which this patch fixes. Also add a comment for the should_sleep_fn() error path. Signed-off-by: Kent Overstreet <[email protected]> Cc: Linus Torvalds <[email protected]> Cc: Boqun Feng <[email protected]> Cc: [email protected] Cc: [email protected]
Diffstat (limited to 'tools/perf/scripts')
0 files changed, 0 insertions, 0 deletions