Date: Mon, 30 Mar 2009 11:00:57 -0400 From: John Baldwin <jhb@FreeBSD.org> To: freebsd-current@FreeBSD.org, barney_cordoba@yahoo.com Subject: Re: cpuset affinity control from within the kernel Message-ID: <200903301100.57757.jhb@freebsd.org> In-Reply-To: <483663.31171.qm@web63906.mail.re1.yahoo.com> References: <483663.31171.qm@web63906.mail.re1.yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sunday 29 March 2009 3:59:40 pm Barney Cordoba wrote: > > What tools are available for taskqueues, interrupts, etc from within the kernel? You can use BUS_BIND_INTR() for interrupts. You can use 'sched_bind() / sched_unbind()' in thread contexts. For example, to pin taskqueue threads (you should only do this for a private taskqueue you create though) you can simply enqueue a task to the thread that does a 'sched_bind()'. -- John Baldwin
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200903301100.57757.jhb>