diff options
author | Joe Thornber <[email protected]> | 2023-03-24 23:01:03 -0400 |
---|---|---|
committer | Mike Snitzer <[email protected]> | 2023-03-30 15:57:50 -0400 |
commit | 791188065be0d3715e6696412ab9c7a5f6b52bd3 (patch) | |
tree | 9a91f18e076ec9ca4440ed75c0e169619970280d /drivers/usb/cdns3/cdns3-debug.h | |
parent | 450e8dee51aa6fa1dd0f64073e88235f1a77b035 (diff) |
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 <[email protected]>
Signed-off-by: Mike Snitzer <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-debug.h')
0 files changed, 0 insertions, 0 deletions