Re: [RFC PATCH 0/2] remove SWAP_MAP_SHMEM
From: Huang, Ying
Date: Wed Sep 25 2024 - 03:28:51 EST
Barry Song <21cnbao@xxxxxxxxx> writes:
[snip]
> I am perfectly fine with the approach, in the first loop, if we find all entries
> don't need CONTINUED, we can run the 2nd loop even for usage==1
> and nr > 1. this is almost always true for a real product where anon folios
> are unlikely to be fork-shared by so many processes.
One possible use case is ksm. Where the map count could be large.
--
Best Regards,
Huang, Ying