Re: [PATCH 2/2] mm/page_alloc: fix never set ALLOC_NOFRAGMENT flag

From: Mel Gorman
Date: Wed Apr 24 2019 - 05:04:08 EST


On Tue, Apr 23, 2019 at 12:01:43PM -0700, Andrew Morton wrote:
> On Tue, 23 Apr 2019 15:08:06 +0300 Andrey Ryabinin <aryabinin@xxxxxxxxxxxxx> wrote:
>
> > Commit 0a79cdad5eb2 ("mm: use alloc_flags to record if kswapd can wake")
> > removed setting of the ALLOC_NOFRAGMENT flag. Bring it back.
>
> What are the runtime effects of this fix?

The runtime effect is that ALLOC_NOFRAGMENT behaviour is restored so
that allocations are spread across local zones to avoid fragmentation
due to mixing pageblocks as long as possible.

--
Mel Gorman
SUSE Labs