Date: Wed, 22 Feb 2017 08:15:06 -0800 From: Adrian Chadd <adrian.chadd@gmail.com> To: Hans Petter Selasky <hps@selasky.org> Cc: "src-committers@freebsd.org" <src-committers@freebsd.org>, "svn-src-all@freebsd.org" <svn-src-all@freebsd.org>, "svn-src-head@freebsd.org" <svn-src-head@freebsd.org> Subject: Re: svn commit: r314043 - in head/sys: compat/linuxkpi/common/include/linux compat/linuxkpi/common/src conf modules/linuxkpi Message-ID: <CAJ-VmonesAskMh-8VeO-DCOePnQDDw7bqT%2BEr3eOu2sh1dnpqA@mail.gmail.com> In-Reply-To: <4ffe93f6-f08a-070c-918d-c0dad443aa1f@selasky.org> References: <201702211323.v1LDNrJw087417@repo.freebsd.org> <CAJ-VmomRTHqR-Cw6fmoSECEA75eaTSzVtu7dyssPOyr095GSkg@mail.gmail.com> <4ffe93f6-f08a-070c-918d-c0dad443aa1f@selasky.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Sweet! Thanks! (God I'd like this for native FreeBSD drivers actually...) -adrian On 22 February 2017 at 01:22, Hans Petter Selasky <hps@selasky.org> wrote: > On 02/22/17 00:18, Adrian Chadd wrote: >> >> Hiya, >> >> My understanding of tasklets is that they run on the CPU that they >> were scheduled on, rather than there being a single tasklet thread? >> >> Is that the direction you're thinking of heading in, or? >> > > Hi Adrian, > > The plan is to use grouptaskqueue in the end. From what I can see all the > pieces are in place for that. Then the tasklets will run on the same CPU > that they were scheduled on. > > Some patches needs to go into the grouptaskqueue first: > > 1) grouptaskqueue needs to support LinuxKPI module unload. There is current > missing/unimplemented drain logic in grouptaskqueue APIs. > > 2) Needs to expose internal gtaskqueues, so that we don't create unneccesary > threads to handle a single IRQ, which is the case currently. > > I've already CC'ed a few people on this, but not action yet. If you can > help, would be great. > > BTW: > TASKQGROUP_DECLARE(net); > > in sys/gtaskqueue.h seems non-existing and should be removed. > > --HPS >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJ-VmonesAskMh-8VeO-DCOePnQDDw7bqT%2BEr3eOu2sh1dnpqA>