Messages in this thread |  | | From | "Dunlap, Randy" <> | Subject | RE: usb-uhci forgets to destroy kmem entries | Date | Fri, 15 Sep 2000 13:14:34 -0700 |
| |
> > +#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/
|  |