Re: usb-uhci forgets to destroy kmem entries

2000-09-16 Thread Oleg Drokin
Hello! On Fri, Sep 15, 2000 at 10:04:59PM +0200, Manfred Spraul wrote: > > +#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. Because we have such constr

RE: usb-uhci forgets to destroy kmem entries

2000-09-15 Thread Dunlap, Randy
> > +#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 driv

RE: usb-uhci forgets to destroy kmem entries

2000-09-15 Thread Manfred Spraul
> > +#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. -- Manfred - To unsubscribe from this list: send

RE: usb-uhci forgets to destroy kmem entries

2000-09-13 Thread Dunlap, Randy
Yes, people use it. Thanks. ~Randy ___ |Randy Dunlap Intel Corp., DALSr. SW Engr.| |randy.dunlap.at.intel.com503-696-2055| |NOTE: Any views presented here are mine alone | |and may not represent the views of my employer. | |

usb-uhci forgets to destroy kmem entries

2000-09-13 Thread Oleg Drokin
Hello! I do not know, if anybody really uses this driver ('UHCI (Intel PIIX4, VIA, ...) support'), but based one the name, I choosen it, and found, that when it cannot find any USB host, it forgots to do kmem_destroy_..., and because of that any subsequent attempts to load usb-uhci mo