Re: [PATCH for-next] mm/sl[au]b: correct allocation type check in kmalloc_slab()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 4 Feb 2013, Joonsoo Kim wrote:

> commit "slab: Common Kmalloc cache determination" made mistake
> in kmalloc_slab(). SLAB_CACHE_DMA is for kmem_cache creation,
> not for allocation. For allocation, we should use GFP_XXX to identify
> type of allocation. So, change SLAB_CACHE_DMA to GFP_DMA.

Correct.

Acked-by: Christoph Lameter <cl@xxxxxxxxx>

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@xxxxxxxxx.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@xxxxxxxxx";> email@xxxxxxxxx </a>


[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]