> > 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.