lkml.org 
[lkml]   [2000]   [Sep]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRE: usb-uhci forgets to destroy kmem entries
Date
> > +#ifdef DEBUG_SLAB
> > + if (retval < 0 ) {
> > + if(kmem_cache_destroy(uhci_desc_kmem))
>
> Why only #ifdef DEBUG_SLAB?
> AFAICS the driver should always destroy it's slab cache.
>
> Please cc, I'm not subscribed to linux-kernel.
(why not? :)
> --
> Manfred

This driver only uses slab caches when it's debugging.
DEBUG & SLAB go together.

~Randy

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

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