cpuset affinity control from within the kernel
John Baldwin
jhb at FreeBSD.org
Mon Mar 30 08:34:55 PDT 2009
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
More information about the freebsd-current
mailing list