Date: Tue, 30 Jul 2002 16:26:22 -0700 (PDT) From: Ian Dowse <iedowse@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/usb uhci.c Message-ID: <200207302326.g6UNQM1W096917@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
iedowse 2002/07/30 16:26:22 PDT Modified files: sys/dev/usb uhci.c Log: Remove some strange code that allocates memory and then immediately frees it again. The idea was to perform M_WAITOK allocations in a process context to reduce the risk of later interrupt-context M_NOWAIT allocations failing, but in fact this code can be called from contexts where it is not desirable to sleep (e.g. if_start routines), so it causes lots of witness "could sleep" warnings. Revision Changes Path 1.123 +2 -26 src/sys/dev/usb/uhci.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200207302326.g6UNQM1W096917>