Nhat Pham 64f768c6b3 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>
2022-12-11 18:12:10 -08:00
..
2022-11-30 15:58:53 -08:00
2021-05-05 11:27:24 -07:00
2022-12-11 18:12:09 -08:00
2022-12-11 18:12:08 -08:00
2022-09-26 19:46:16 -07:00
2022-11-30 15:58:54 -08:00
2022-03-23 18:03:08 -07:00
2022-10-03 14:03:04 -07:00
2022-12-11 18:12:08 -08:00
2022-10-03 14:02:43 -07:00
2022-09-26 19:46:09 -07:00
2022-09-26 19:46:28 -07:00
2022-09-26 19:46:26 -07:00
2021-05-07 00:26:35 -07:00
2022-11-30 15:58:46 -08:00
2022-12-11 18:12:10 -08:00
2022-12-11 18:12:10 -08:00
2022-12-11 18:12:10 -08:00