lkml.org 
[lkml]   [1999]   [Aug]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 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/

\
 
 \ /
  Last update: 2005-03-22 13:53    [W:0.050 / U:0.324 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site