diff options
| author | Kent Overstreet | 2021-03-24 23:37:33 -0400 |
|---|---|---|
| committer | Kent Overstreet | 2023-10-22 17:08:57 -0400 |
| commit | 331194a230f5fb266a64880e905c0364aa834964 (patch) | |
| tree | 6a838a4d76a001463671e54da58b9a1f1660f066 /tools/perf/scripts/python/stackcollapse.py | |
| parent | 2649b514b6cad329da0a4c8cafbd48c32bbc1b9d (diff) | |
bcachefs: btree key cache locking improvements
The btree key cache mutex was becoming a significant bottleneck - it was
mainly used to protect the lists of dirty, clean and freed cached keys.
This patch eliminates the dirty and clean lists - instead, when we need
to scan for keys to drop from the cache we iterate over the rhashtable,
and thus we're able to remove most uses of that lock.
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
