> I wonder if it may be feasible to allocate a bunch of contiguous
> pages. Then, whenever the hardware returns a bus address, subtract
> the remembered bus address of the zone start, add the offset to
> the virtual and voila.
Even if not you can hash by page number not low bits so the hash is way
smaller. You (in most cases) can also write the entry number in the relevant
tables onto the end of the object in spare space (or in front of it)
Something as trivial as
struct usb_thingy
{
u32 thing_id;
u32 flags;
struct usb_thingy *next;
#ifndef __LP64__
u32 pad
#endif
struct usb_controller_goo goo;
}
Alan
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
http://lists.sourceforge.net/lists/listinfo/linux-usb-devel
- [linux-usb-devel] Re: SLAB vs. pci_alloc_xxx in usb-uhc... David S. Miller
- Re: [linux-usb-devel] Re: SLAB vs. pci_alloc_xxx in usb... Johannes Erdfelt
- Re: [linux-usb-devel] Re: SLAB vs. pci_alloc_xxx in usb... Alan Cox
- [linux-usb-devel] Re: SLAB vs. pci_alloc_xxx in usb-uhc... David Brownell
- [linux-usb-devel] Re: SLAB vs. pci_alloc_xxx in us... David S. Miller
- Re: [linux-usb-devel] Re: SLAB vs. pci_alloc_xxx in usb... Steve Longerbeam
- [linux-usb-devel] Re: SLAB vs. pci_alloc_xxx in usb-uhc... Pete Zaitcev
- [linux-usb-devel] Re: SLAB vs. pci_alloc_xxx in us... David S. Miller
- [linux-usb-devel] Re: SLAB vs. pci_alloc_xxx in usb-uhc... David Brownell
- [linux-usb-devel] Re: SLAB vs. pci_alloc_xxx in usb-uhc... G�rard Roudier
- [linux-usb-devel] Re: SLAB vs. pci_alloc_xxx in usb-uhc... Alan Cox
- [linux-usb-devel] Re: SLAB vs. pci_alloc_xxx in usb-uhc... David Brownell
- [linux-usb-devel] Re: SLAB vs. pci_alloc_xxx in usb-uhc... G�rard Roudier
- [linux-usb-devel] Re: SLAB vs. pci_alloc_xxx in us... David Brownell
- Re: [linux-usb-devel] Re: SLAB vs. pci_alloc_xxx in usb... Russell King
- Re: [linux-usb-devel] Re: SLAB vs. pci_alloc_xxx i... Roman Weissgaerber
- Re: [linux-usb-devel] Re: SLAB vs. pci_alloc_xxx in usb... Brad Parker
- Re: [linux-usb-devel] Re: SLAB vs. pci_alloc_xxx i... Roman Weissgaerber
- Re: [linux-usb-devel] Re: SLAB vs. pci_alloc_xxx in usb... Alan Cox
