Re: [PATCH] MM: discard __GFP_ATOMIC

From: Mel Gorman
Date: Thu Nov 18 2021 - 08:27:57 EST


On Thu, Nov 18, 2021 at 10:22:36AM +0100, Michal Hocko wrote:
> [Cc Mel]
>

I think this patch should be ok. There are few direct users of __GFP_HIGH
and some of them are borderline silly (e.g. mm/shmem.c specifying
__GFP_HIGH|__GFP_NOMEMALLOC) while others just look questionable (
drivers/md/raid10.c seems to assume __GFP_HIGH guarantees allocation
success). Xen appears to be the worst abuser of __GFP_HIGH.

--
Mel Gorman
SUSE Labs