Re: [PATCH 1/1] mm/khugepaged: skip copying lazyfree pages on collapse

From: Michal Hocko
Date: Fri Feb 02 2024 - 10:38:58 EST


On Fri 02-02-24 22:52:49, Lance Yang wrote:
> How about blocking khugepaged from
> collapsing lazyfree pages? This way,
> is it not better to keep the semantics
> of MADV_FREE?

I do not see any reason why. And you are not providing any
actual reasoning either. Unless you have a very specific
example in mind I do not think we want to change the current
behavior.
--
Michal Hocko
SUSE Labs