cvs commit: src/sys/dev/usb usb_mem.c
John-Mark Gurney
jmg at FreeBSD.org
Sun Jul 20 19:41:02 PDT 2003
jmg 2003/07/20 19:41:01 PDT
FreeBSD src repository
Modified files:
sys/dev/usb usb_mem.c
Log:
override the tag. usb_block_allocmem allocates a new tag, which when we
go looking for free fragments won't match. Since we never free this, we
can "throw away" the tag. This is very dirty, and needs to be reimplemented
properly, but fixes performance problems with uhci.
Also assert that when we overlay a structure on some space, that the
space is large enough for the structure.
Revision Changes Path
1.2 +5 -1 src/sys/dev/usb/usb_mem.c
More information about the cvs-all
mailing list