Re: [PATCH] mm: save two stranding bit in gfp_mask
From: Shakeel Butt
Date: Wed May 16 2018 - 16:49:17 EST
On Wed, May 16, 2018 at 1:41 PM Vlastimil Babka <vbabka@xxxxxxx> wrote:
> On 05/16/2018 10:20 PM, Shakeel Butt wrote:
> > ___GFP_COLD and ___GFP_OTHER_NODE were removed but their bits were
> > stranded. Slide existing gfp masks to make those two bits available.
> Well, there are already available for hypothetical new flags. Is there
> anything that benefits from a smaller __GFP_BITS_SHIFT?
I am prototyping to pass along the type of kmem allocation e.g. page table,
vmalloc, stack e.t.c. (still very preliminary).