Messages in this thread | | | Date | Sat, 7 Aug 1999 20:20:34 -0400 | From | Johannes Erdfelt <> | Subject | Re: No kmem_cache_destroy? |
| |
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/
| |