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

From: Andrew Morton
Date: Wed Mar 21 2007 - 12:32:08 EST


On Wed, 21 Mar 2007 16:41:19 +0200 "Pekka Enberg" <penberg@xxxxxxxxxxxxxx> wrote:

> On 3/21/07, Rafael J. Wysocki <rjw@xxxxxxx> wrote:
> > IMHO one way to find them is to actually slow down kmem_cache_free() and see
> > where the performance is hurt.
>
> Yeah, I'll try to sneak a patch past Andrew.

That would be sneaky.

Thing is, such a patch would amount to adding a test-for-NULL to codepaths
which we *know* do not need it. There is no point in doing that.
-
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/