Linux-kernel mailing list archive 1999-32,: Re: No kmem_cache_destroy?

# Re: No kmem_cache_destroy?

Johannes Erdfelt (jerdfelt@suse.com)
Sat, 7 Aug 1999 20:20:34 -0400

- Messages sorted by: [ date ][ thread ][ subject ][ author ]
- Next message: Keith Owens: "[RFC] New modutils maintainer"
- Previous message: Mike A. Harris: "Re: > 1 meg bzImage"

On Sun, Aug 08, 1999, Andrea Arcangeli <andrea@suse.de> wrote:
> Forgot to tell, my kmem_cache_destory is just robust against freeing a
> slab header that has still some object allocated (not yet
> kmem_cache_freed) in it. If there are still objects queued you get a
> different retval from kmem_cache_destory and the slab header won't be
> destroyed. It will also printk a kernel error. That will allow us to catch
> bugs and the code may do some recover action at runtime looking the
> retval.

I submitted it to Linus as part of a patch to the UHCI driver and it was
accepted. Thanks Andrea!

JE

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

- Next message: Keith Owens: "[RFC] New modutils maintainer"
- Previous message: Mike A. Harris: "Re: > 1 meg bzImage"