Messages in this thread | | | From | 贺中坤 <> | Date | Fri, 13 Oct 2023 20:59:16 +0800 | Subject | Re: [External] Re: [RFC PATCH] zswap: add writeback_time_threshold interface to shrink zswap pool |
| |
> > Can you use memory.reclaim itself for that? With Nhat's shrinker, it > should move the whole pipeline (LRU -> zswap -> swap). >
Thanks, I will backport it and have a try.
> In many instances, swapins already free the swap slot through the > generic swap code (see should_try_to_free_swap()). It matters for > shared pages, or for swapcaching read-only data when swap isn't full - > it could be that isn't the case in your tests.
Got it. Thanks for your reply.
| |