Re: [PATCH] mm/slab_common: don't check for duplicate cache names

2014-10-22 Thread Christoph Lameter
On Tue, 21 Oct 2014, Mikulas Patocka wrote: > 12220dea07f1ac6ac717707104773d771c3f3077), therefore we need stop checking > for duplicate names even for the SLAB subsystem. This patch fixes the bug > by removing the check. Acked-by: Christoph Lameter -- To unsubscribe from this list: send the lin

[PATCH] mm/slab_common: don't check for duplicate cache names

2014-10-21 Thread Mikulas Patocka
The SLUB cache merges caches with the same size and alignment and there was long standing bug with this behavior: * create the cache named "foo" * create the cache named "bar" (which is merged with "foo") * delete the cache named "foo" (but it stays allocated because "bar" uses it) * create the c