Re: [bug, netconsole, SLUB] BUG skbuff_head_cache: Poison overwritten
From: Christoph Lameter
Date: Fri Jul 18 2008 - 10:49:22 EST
Pekka Enberg wrote:
> Yeah. See the free_debug_processing() function in mm/slub.c for
> details (the on_freelist() part). However, if you look at slab_free()
> you can see that in the SLUB fast-path we don't do any of these
> debugging checks. So you can end up with slab corruption without a
> nice error message.
The slub fastpath is not used when debugging is enabled.
Without debugging on double frees will typically corrupt the freepointer. So you get an invalid pointer reference in __slab_free.
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/