Re: [PATCH v2 3/3] mm: vmscan: tell direct reclaim the allocation is ALLOC_NOFRAGMENT
From: Vlastimil Babka (SUSE)
Date: Mon Nov 16 2026 - 06:47:10 EST
On 11/16/26 12:18, Kiryl Shutsemau (Meta) wrote:
> On Fri, Nov 13, 2026 at 06:58:05PM +0100, Vlastimil Babka (SUSE) wrote:
>> I'd perhaps pass whole alloc_flags to try_to_free_pages(), but other than
>> that LGTM.
>
> Passing alloc_flags down is easy. The question is what reclaim does with
> them.
>
> I can keep using only ALLOC_NOFRAGMENT from them, as the nofragment bit
> in struct scan_control.
>
> Do you want anything beyond this?
Dunno if anything else makes sense to use in that context. Maybe not now,
but in the future it might.