On Fri 02-02-24 20:52:48, Lance Yang wrote: > On Fri, Feb 2, 2024 at 8:27 PM Michal Hocko <mhocko@xxxxxxxx> wrote: > > > > On Fri 02-02-24 19:18:31, Lance Yang wrote: > > > IMO, since it's treated the same as pte_none, > > > perhaps lazyfree pages shouldn't be copied to > > > the new huge page. > > > > Why? The content of MADV_FREE page is valid until it is reclaimed. > > IMO, if MADV_FREE pages are considered valid until > reclaimed, treating them the same as pte_none might > pose a conflict. What kind of conflict? -- Michal Hocko SUSE Labs