summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2022-08-25 10:49:52 -0400
committerKent Overstreet <kent.overstreet@linux.dev>2022-10-03 23:54:35 -0400
commit0b79a2ce71118dca11ff8d06e0b490eb7028044f (patch)
tree98e5ed44833c6feb61d0c3ae2bd80a7d33137ddf /tools/perf/scripts/python
parentac4f9d6d2a926f34a4ae3aa4d39d5e9bb51d6f9d (diff)
six locks: Simplify wait lists
This switches to a single list of waiters, instead of separate lists for read and intent, and switches write locks to also use the wait lists instead of being handled differently. Also, removal from the wait list is now done by the process waiting on the lock, not the process doing the wakeup. This is needed for the new deadlock cycle detector - we need tasks to stay on the waitlist until they've successfully acquired the lock. Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions