Re: [PATCH 2/2] mm/slub: don't use reserved memory for optimistic try

From: Christopher Lameter
Date: Wed Sep 06 2017 - 11:55:38 EST


On Wed, 6 Sep 2017, Vlastimil Babka wrote:

> I think it's wasteful to do a function call for this, inline definition
> in header would be better (gfp_pfmemalloc_allowed() is different as it
> relies on a rather heavyweight __gfp_pfmemalloc_flags().

Right.