Re: [PATCH] slub: fix failure when we delete and create a slab cache

2018-06-15 Thread Andrew Morton
On Fri, 15 Jun 2018 18:25:29 -0400 (EDT) Mikulas Patocka wrote: > In the kernel 4.17 I removed some code from dm-bufio that did slab cache > merging (21bb13276768) - both slab and slub support merging caches with > identical attributes, so dm-bufio now just calls kmem_cache_create and > relies o

[PATCH] slub: fix failure when we delete and create a slab cache

2018-06-15 Thread Mikulas Patocka
In the kernel 4.17 I removed some code from dm-bufio that did slab cache merging (21bb13276768) - both slab and slub support merging caches with identical attributes, so dm-bufio now just calls kmem_cache_create and relies on implicit merging. This uncovered a bug in the slub subsystem - if we del