diff options
| author | Valentin Schneider <[email protected]> | 2025-07-12 03:33:44 +0000 |
|---|---|---|
| committer | Peter Zijlstra <[email protected]> | 2025-07-14 15:16:32 +0000 |
| commit | a4f0b6fef4b08e9928449206390133e48ac185a7 (patch) | |
| tree | 2797d4f803c8036e99df543520a6da633889a18e /tools/perf/scripts/python/futex-contention.py | |
| parent | locking/mutex: Rework task_struct::blocked_on (diff) | |
| download | kernel-a4f0b6fef4b08e9928449206390133e48ac185a7.tar.gz kernel-a4f0b6fef4b08e9928449206390133e48ac185a7.zip | |
locking/mutex: Add p->blocked_on wrappers for correctness checks
This lets us assert mutex::wait_lock is held whenever we access
p->blocked_on, as well as warn us for unexpected state changes.
[fix conflicts, call in more places]
[jstultz: tweaked commit subject, reworked a good bit]
Signed-off-by: Valentin Schneider <[email protected]>
Signed-off-by: Connor O'Brien <[email protected]>
Signed-off-by: John Stultz <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Tested-by: K Prateek Nayak <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/futex-contention.py')
0 files changed, 0 insertions, 0 deletions
