summaryrefslogtreecommitdiff
path: root/scripts/lib/kdoc/kdoc_files.py
diff options
context:
space:
mode:
authorJoe Thornber <ejt@redhat.com>2023-03-10 18:37:20 +0300
committerMike Snitzer <snitzer@kernel.org>2023-03-30 22:57:50 +0300
commitbe845babda1bb168d3f9f47c171f0a24a3312cba (patch)
tree86ef2c74062b4233447536f5615f5ddd36241d9b /scripts/lib/kdoc/kdoc_files.py
parentb75a80f4f5a956f3d335ebf29c7cee1b234ac3cf (diff)
downloadlinux-be845babda1bb168d3f9f47c171f0a24a3312cba.tar.xz
dm bufio: add LRU abstraction
A CLOCK algorithm is used in this LRU abstraction. This avoids relinking list nodes, which would require a write lock protecting it. None of the LRU methods are threadsafe; locking must be done at a higher level. Code that uses this new LRU will be introduced in the next 2 commits. As such, this commit will cause "defined but not used" compiler warnings that will be resolved by the next 2 commits. 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