Re: [patch] mm, slab: only set __GFP_RECLAIMABLE once

From: Mel Gorman
Date: Wed Oct 18 2017 - 10:13:47 EST


On Tue, Oct 17, 2017 at 03:30:01PM -0700, David Rientjes wrote:
> SLAB_RECLAIM_ACCOUNT is a permanent attribute of a slab cache. Set
> __GFP_RECLAIMABLE as part of its ->allocflags rather than check the cachep
> flag on every page allocation.
>
> Signed-off-by: David Rientjes <rientjes@xxxxxxxxxx>

Acked-by: Mel Gorman <mgorman@xxxxxxxxxxxxxxxxxxx>

--
Mel Gorman
SUSE Labs