Date: Fri, 12 Nov 2004 22:08:17 +0000 (GMT) From: Robert Watson <rwatson@freebsd.org> To: "M. Warner Losh" <imp@bsdimp.com> Cc: current@freebsd.org Subject: Re: usb with fast interrupts Message-ID: <Pine.NEB.3.96L.1041112220719.26498C-100000@fledge.watson.org> In-Reply-To: <20041112.150359.11373761.imp@bsdimp.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 12 Nov 2004, M. Warner Losh wrote: > In message: <Pine.NEB.3.96L.1041112214636.26498B-100000@fledge.watson.org> > Robert Watson <rwatson@freebsd.org> writes: > : > : On Fri, 12 Nov 2004, M. Warner Losh wrote: > : > : > Our usb system supports soft interrupts, but we currently don't make > : > productive use of them. The following makes interrupts fast interrupts > : > and uses taskqueues to queue data to a SWI. > : > : It looks like INTR_FAST is spelt as INTR_MPSAFE in your patch. Did you > : mean instead to spell it INTR_FAST? > > Actually, I ment what the patch said, but the description was incorrect. > It should have just said MPSAFE interrupts, not FAST interrupts. Sounds good to me. Scott's comments on possibly wanting a non-task worker may well be valid, though. Or you can do what acpi and other components do: use the task queue mechanism but provide their own kernel thread. Robert N M Watson FreeBSD Core Team, TrustedBSD Projects robert@fledge.watson.org Principal Research Scientist, McAfee Research
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.NEB.3.96L.1041112220719.26498C-100000>