Re: [PATCH 01/13] mm/mmap: free gathered pages before MMF_OOM_SKIP
From: Michal Hocko
Date: Thu Nov 12 2026 - 09:55:12 EST
On Thu 12-11-26 13:48:53, Michal Hocko wrote:
> > This only matters for the OOM victim, hence reinstating MMF_OOM_VICTIM, which
> > made the patch _way_ smaller than the one proposed :)
>
> Should we simply do that flushing unconditionally before setting MMF_OOM_VICTIM
> then?
Sorry, I was caught in calls and didn't get much time to think about
this. I have only now found some time to look into that and to do the
above we would need to make tlb_batch_list_free visible and conditional.
Which is a bit of undertaking, not anything major but still kind of
ugly. So your solution seems better in the end.
Please clarify the changelog wording to be really about this and with
that
Acked-by: Michal Hocko <mnhocko@xxxxxxxx
Thanks!
--
Michal Hocko
SUSE Labs