summaryrefslogtreecommitdiffstats
path: root/crypto/Kconfig
diff options
context:
space:
mode:
authorMikulas Patocka <mpatocka@redhat.com>2019-09-12 18:07:23 +0200
committerMike Snitzer <snitzer@redhat.com>2019-09-13 23:00:21 +0200
commit6e913b28cd279212c4580dbd8b2cf9dcd4740cfb (patch)
tree6948fd5cc68ef7219aafe94b242d0c27c9fcd2ed /crypto/Kconfig
parentdm bufio: remove old-style buffer cleanup (diff)
downloadlinux-6e913b28cd279212c4580dbd8b2cf9dcd4740cfb.tar.xz
linux-6e913b28cd279212c4580dbd8b2cf9dcd4740cfb.zip
dm bufio: introduce a global cache replacement
This commit introduces a global cache replacement (instead of per-client cleanup). If one bufio client uses the cache heavily and another client is not using it, we want to let the first client use most of the cache. The old algorithm would partition the cache equally betwen the clients and that is sub-optimal. For cache replacement, we use the clock algorithm because it doesn't require taking any lock when the buffer is accessed. Signed-off-by: Mikulas Patocka <mpatocka@redhat.com> Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'crypto/Kconfig')
0 files changed, 0 insertions, 0 deletions