Re: [PATCH] mm/slab: fix unexpected index mapping result of kmalloc_size(INDEX_NODE+1)

From: Christoph Lameter
Date: Fri Sep 18 2015 - 10:29:14 EST


On Fri, 18 Sep 2015, Joonsoo Kim wrote:

> This patch fixes the problem of kmalloc_size(INDEX_NODE + 1) and removes
> the BUG by adding 'size >= 256' check to guarantee that all necessary
> small sized slabs are initialized regardless sequence of slab size in
> mapping table.

Acked-by: Christoph Lameter <cl@xxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/