> Date: Sun, 4 May 2014 17:32:35 +0200 > From: Martin Pieuchot <[email protected]> > > In USB land there is a lot of freelists. Every HC driver has one > freelist per type of descriptor and the memory allocator used to > populate these lists, usb_allocmem(), is a wrapper around > bus_dma{mem,map}* that uses two more lists. > > I don't see the point of having per-softc lists, but maybe somebody > has a better understanding of this.
One thing to look out for is memory allocations in the I/O path for disk devices. Otherwise swapping/paging might deadlock.
