On 08/02/2012 06:13 PM, Christoph Lameter wrote: > On Thu, 2 Aug 2012, Glauber Costa wrote: > >> After applying v8, and proceeding with cache deletion + later insertion >> as I've previously laid down, I can still see the bug I mentioned here. >> >> I am attaching the backtrace I've got with SLUB_DEBUG_ON. My first guess >> based on it would be a double free somewhere. > > This looks like you are passing an invalid pointer to kfree. > Which is then the patchset's fault. Since as I said, my call order is: kmem_cache_create() -> kmem_cache_destroy(). All allocs and frees are implicit. It also works okay both before the patches are applied, and with slab. -- 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>