[linux-usb-devel] Re: question on TD allocation in ohci-hcd.c

2002-07-18 Thread David Brownell
Oliver Neukum wrote: > Am Donnerstag, 18. Juli 2002 23:45 schrieben Sie: > >>>is there a deeper reason for the TDs being allocated under a spinlock? >> >>The presence of an annoying hashtable needed for bus_to_virt() >>style mappings. Minimally, stuffing the hashbuckets needs to >>be reentrant,

[linux-usb-devel] Re: question on TD allocation in ohci-hcd.c

2002-07-18 Thread Oliver Neukum
Am Donnerstag, 18. Juli 2002 23:45 schrieben Sie: > > is there a deeper reason for the TDs being allocated under a spinlock? > > The presence of an annoying hashtable needed for bus_to_virt() > style mappings. Minimally, stuffing the hashbuckets needs to > be reentrant, and that's done as part of

[linux-usb-devel] Re: question on TD allocation in ohci-hcd.c

2002-07-18 Thread David Brownell
> is there a deeper reason for the TDs being allocated under a spinlock? The presence of an annoying hashtable needed for bus_to_virt() style mappings. Minimally, stuffing the hashbuckets needs to be reentrant, and that's done as part of allocation. After my next set of OHCI patches I hope to p