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

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

 



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, 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]