tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: USB contigmalloc()



On 12/02/11 10:20, matthew green wrote:
On Fri, Dec 02, 2011 at 01:51:42AM +0900, Izumi Tsutsui wrote:
Anyway, currently our udl(4) doesn't require such allocation,

It's also a problem for radeondrm (no USB involved).

freebsd implemented a different fix for this, which i think involved
using the VM system directly and supporting SG properly, but i never
got around to looking at the code directly.

i keep considering adding a hack to radeondrm to not free the dma
ram on last close() so that restarts work (but starting for the
first time later may fail) but if someone wants to fix it properly
befire i do that, i'd not complain.

jmorse@ wrote a patch which implements support for multiple segments:
http://www.netbsd.org/~cegger/usb.diff

Christoph


Home | Main Index | Thread Index | Old Index