Re: [bug, netconsole, SLUB] BUG skbuff_head_cache: Poisonoverwritten

From: Ingo Molnar
Date: Mon Jul 21 2008 - 16:07:14 EST



* Evgeniy Polyakov <johnpol@xxxxxxxxxxx> wrote:

> It could be an interesting kmemcheck extension to catch not only
> non-initialized memory, but also writes into just freed one, but not
> yet returned by allocator to the next user.

hm, i think kmemcheck does that mostly already. If not then I think
kmemcheck should just turn off all buffering that might happen on the
SLUB level (if it doesnt do it already). I.e. a kfree()d buffer should
be marked as uninitialized immediately.

Ingo
--
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/