summaryrefslogtreecommitdiff
path: root/scripts/lib/kdoc/kdoc_files.py
diff options
context:
space:
mode:
authorJoe Thornber <ejt@redhat.com>2023-03-25 06:01:03 +0300
committerMike Snitzer <snitzer@kernel.org>2023-03-30 22:57:50 +0300
commit791188065be0d3715e6696412ab9c7a5f6b52bd3 (patch)
tree9a91f18e076ec9ca4440ed75c0e169619970280d /scripts/lib/kdoc/kdoc_files.py
parent450e8dee51aa6fa1dd0f64073e88235f1a77b035 (diff)
downloadlinux-791188065be0d3715e6696412ab9c7a5f6b52bd3.tar.xz
dm bufio: add lock_history optimization for cache iterators
Sometimes it is beneficial to repeatedly get and drop locks as part of an iteration. Introduce lock_history struct to help avoid redundant drop and gets of the same lock. Optimizes cache_iterate, cache_mark_many and cache_evict. Signed-off-by: Joe Thornber <ejt@redhat.com> Signed-off-by: Mike Snitzer <snitzer@kernel.org>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_files.py')
0 files changed, 0 insertions, 0 deletions