Re: [PATCH] slab: deal with NULL pointers passed to kmem_cache_free

From: Pekka Enberg
Date: Tue Mar 20 2007 - 03:07:00 EST


On 3/19/07, Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> wrote:
The BUG_ON (at least) should probably be moved into CONFIG_DEBUG_SLAB.

No it shouldn't. Letting non-slab pages pass through causes nasty and
hard to debug problems which is why we have the BUG_ONs in the first
place:

http://lkml.org/lkml/2006/5/8/101

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