Re: [PATCH v2 2/3] mm: Add support for SLAB_CACHE_DMA32

From: Christopher Lameter
Date: Wed Nov 21 2018 - 13:33:01 EST


On Sun, 11 Nov 2018, Nicolas Boichat wrote:

> SLAB_CACHE_DMA32 is only available after explicit kmem_cache_create calls,
> no default cache is created for kmalloc. Add a test in check_slab_flags
> for this.

This does not define the dma32 kmalloc array. Is that intentional? In that
case you need to fail any request for GFP_DMA32 coming in via kmalloc.