diff options
author | Nhat Pham <nphamcs@gmail.com> | 2022-11-28 11:16:13 -0800 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2022-12-11 18:12:10 -0800 |
commit | 64f768c6b32e1957e2b65b70e97cb4cb62344bc4 (patch) | |
tree | cf2567e131d3a08adda0b23aeb50d3076c66b89a /io_uring/fs.c | |
parent | c0547d0b6a4b637db05406b90ba82e1b2e71de56 (diff) |
zsmalloc: add a LRU to zs_pool to keep track of zspages in LRU order
This helps determines the coldest zspages as candidates for writeback.
Link: https://lkml.kernel.org/r/20221128191616.1261026-5-nphamcs@gmail.com
Signed-off-by: Nhat Pham <nphamcs@gmail.com>
Acked-by: Johannes Weiner <hannes@cmpxchg.org>
Reviewed-by: Sergey Senozhatsky <senozhatsky@chromium.org>
Cc: Dan Streetman <ddstreet@ieee.org>
Cc: Minchan Kim <minchan@kernel.org>
Cc: Nitin Gupta <ngupta@vflare.org>
Cc: Seth Jennings <sjenning@redhat.com>
Cc: Vitaly Wool <vitaly.wool@konsulko.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'io_uring/fs.c')
0 files changed, 0 insertions, 0 deletions