summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorMatthew Wilcox (Oracle) <willy@infradead.org>2026-03-05 19:55:41 +0000
committerPeter Zijlstra <peterz@infradead.org>2026-03-08 11:06:51 +0100
commit1ea4b473504b6dc6a0d21c298519aff2d52433c9 (patch)
tree85e8f91f16ceff2a26c8eb479e848ab78cbb3663 /tools/perf/scripts/python/stackcollapse.py
parentb91d5d4bcf1266257a9e0199e1b4ad7fa8771baa (diff)
locking/rwsem: Remove the list_head from struct rw_semaphore
Instead of embedding a list_head in struct rw_semaphore, store a pointer to the first waiter. The list of waiters remains a doubly linked list so we can efficiently add to the tail of the list, remove from the front (or middle) of the list. Some of the list manipulation becomes more complicated, but it's a reasonable tradeoff on the slow paths to shrink some core data structures like struct inode. Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Link: https://patch.msgid.link/20260305195545.3707590-2-willy@infradead.org
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions