aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorKent Overstreet <[email protected]>2022-06-17 01:07:54 -0400
committerKent Overstreet <[email protected]>2023-10-22 17:09:34 -0400
commit8f7f566f5774d36196bfa87bc097522fd497d4dc (patch)
tree5d60b9478018ad4baf119804cc0d4e980baf365a /tools/perf/scripts/python
parent7bb61e8c0e37fdf5684bc1fa1f6e0b5644cc7f75 (diff)
bcachefs: btree key cache pcpu freedlist
Originally, the btree key cache code would always allocate new entries by reusing from the recently-freed list, if that list wasn't empty. But that behaviour was dropped, for lock contention reasons. But it seems that entries stranded on the freed list have been contributing to some of our oom issues, because long running btree transactions will prevent them from being freed. This patch re-adds allocating from the freed list, but it also adds percpu buffers to solve the lock contention issues - and the new percpu freed lists will improve the evict paths, too. Signed-off-by: Kent Overstreet <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions