Date: Sun, 20 Jul 2003 19:41:01 -0700 (PDT) From: John-Mark Gurney <jmg@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/usb usb_mem.c Message-ID: <200307210241.h6L2f1rW080800@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200307210241.h6L2f1rW080800>
