Re: [linux-usb-devel] trial of using slab cache

2002-03-02 Thread David Brownell
Once it's initialized I see no reason it should be touched ever again. - Original Message - From: "Oliver Neukum" <[EMAIL PROTECTED]> To: "David Brownell" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Friday, March 01, 2002 3:36 PM Subject

Re: [linux-usb-devel] trial of using slab cache

2002-03-01 Thread Greg KH
On Sat, Mar 02, 2002 at 12:40:03AM +0100, Oliver Neukum wrote: > On Friday 01 March 2002 22:25, Greg KH wrote: > > On Fri, Mar 01, 2002 at 04:29:21PM +0100, Oliver Neukum wrote: > > > Hi, > > > > > > here is an attempt at using the slab cache for urbs. > > > Could somebody with a 2.0 devices test

Re: [linux-usb-devel] trial of using slab cache

2002-03-01 Thread Oliver Neukum
On Friday 01 March 2002 21:40, David Brownell wrote: > > #--- 1.45/include/linux/usb.h Fri Feb 22 19:50:06 2002 > > #+++ 1.46/include/linux/usb.h Fri Mar 1 16:03:48 2002 > > #@@ -720,6 +720,7 @@ > > # { > > # spinlock_t lock; /* lock for the URB */ > > # atomic_t count; /* reference count of the

Re: [linux-usb-devel] trial of using slab cache

2002-03-01 Thread Oliver Neukum
On Friday 01 March 2002 22:25, Greg KH wrote: > On Fri, Mar 01, 2002 at 04:29:21PM +0100, Oliver Neukum wrote: > > Hi, > > > > here is an attempt at using the slab cache for urbs. > > Could somebody with a 2.0 devices test this ? > > Looks like you only did it for iso urbs, right? Then a ! is mis

Re: [linux-usb-devel] trial of using slab cache

2002-03-01 Thread Greg KH
On Fri, Mar 01, 2002 at 04:29:21PM +0100, Oliver Neukum wrote: > Hi, > > here is an attempt at using the slab cache for urbs. > Could somebody with a 2.0 devices test this ? Looks like you only did it for iso urbs, right? I don't think the 2.0 controller can handle iso packets yet, not to mentio

Re: [linux-usb-devel] trial of using slab cache

2002-03-01 Thread David Brownell
> #--- 1.45/include/linux/usb.h Fri Feb 22 19:50:06 2002 > #+++ 1.46/include/linux/usb.h Fri Mar 1 16:03:48 2002 > #@@ -720,6 +720,7 @@ > # { > # spinlock_t lock; /* lock for the URB */ > # atomic_t count; /* reference count of the URB */ > #+ int is_iso; /* flag to handle as iso */ You know, it

[linux-usb-devel] trial of using slab cache

2002-03-01 Thread Oliver Neukum
Hi, here is an attempt at using the slab cache for urbs. Could somebody with a 2.0 devices test this ? Regards Oliver This BitKeeper patch contains the following changesets: 1.364 # This is a BitKeeper patch. What follows are the unified diffs for the # set of deltas c