Re: [PATCH v2 3/3] mm: vmscan: tell direct reclaim the allocation is ALLOC_NOFRAGMENT

From: Kiryl Shutsemau (Meta)

Date: Mon Nov 16 2026 - 06:25:01 EST


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?

--
Kiryl Shutsemau / Kirill A. Shutemov