Re: [PATCH] slab: add missing debug_check_no_locks_freed for kmem_cache_free

From: Pekka Enberg
Date: Tue Jan 02 2007 - 15:25:27 EST


Pekka J Enberg <penberg@xxxxxxxxxxxxxx> wrote:
> Add a missing debug_check_no_locks_freed() debug check for
> kmem_cache_free().

On 1/2/07, Ingo Molnar <mingo@xxxxxxx> wrote:
hm, i have a similar fix in -rt already, and i sent a patch for this:

http://lkml.org/lkml/2006/12/18/104

have i missed some API variant?

Oh, I missed that. I don't think it's in Linus' tree yet, though. Your
patch looks good but I prefer mine as it's better to have the check in
one place.
-
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/