Date: Wed, 07 Aug 2013 23:29:30 +0200 From: Andre Oppermann <andre@freebsd.org> To: Adrian Chadd <adrian@freebsd.org> Cc: Scott Long <scott4long@yahoo.com>, mike@karels.net, Bryan Venteicher <bryanv@daemoninthecloset.org>, Navdeep Parhar <np@freebsd.org>, net@freebsd.org, Giuseppe Lettieri <g.lettieri@iet.unipi.it>, Luigi Rizzo <rizzo@iet.unipi.it> Subject: Re: [net] protecting interfaces from races between control and data ? Message-ID: <5202BC3A.7010505@freebsd.org> In-Reply-To: <CAJ-Vmok-Z4w5iuqauOYvPKSMOKTrGi%2BWhoYx6cArChW76eh-1A@mail.gmail.com> References: <20130805215319.GA43271@onelab2.iet.unipi.it> <201308070326.r773QCLD035541@mail.karels.net> <CA%2BhQ2%2Bi2MEKw-A=T-x1gw87P5G0g-xko-XPmE__=Cy=Airb1vg@mail.gmail.com> <5202A74E.4060602@freebsd.org> <DBE2F2CD-02F7-4738-B4FE-446C0B45C941@yahoo.com> <CAJ-Vmok-Z4w5iuqauOYvPKSMOKTrGi%2BWhoYx6cArChW76eh-1A@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 07.08.2013 22:48, Adrian Chadd wrote: > On 7 August 2013 13:08, Scott Long <scott4long@yahoo.com> wrote: > >> An even rore relevant difference is that taskqueues have a much stronger >> management API. Ithreads can only be scheduled by generating a hardware interrupt, >> can only be drained by calling bus_teardown_intr(), and cannot be paused. Taskqueues >> give you direct access to this control. > > It would be really nice if we had a software method to trigger an > ithread to run, like a software interrupt. > > It would also be nice to pin taskqueues to CPUs, we can do with > ithreads at the moment. Both are implemented on top of kernel threads so it's mostly a matter of nicely integrating and exposing an API for it. -- Andre
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5202BC3A.7010505>