Re: [PATCH v3] mm/slab_common: Support the slub_debug boot option on specific object size

From: Christoph Lameter
Date: Thu Apr 23 2015 - 09:56:18 EST


On Thu, 23 Apr 2015, Gavin Guo wrote:

> - if (KMALLOC_MIN_SIZE <= 64 && !kmalloc_caches[2] && i == 7)
> - kmalloc_caches[2] = create_kmalloc_cache(NULL, 192, flags);
> + if (i == 2)
> + i = (KMALLOC_SHIFT_LOW - 1);
> }

Ok this is weird but there is a comment.

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/