Moving a kthread between CPUs?

John Baldwin jhb at FreeBSD.org
Thu Oct 14 12:09:31 PDT 2004


On Wednesday 13 October 2004 11:02 pm, Joseph Koshy wrote:
> Is there a way for a kthread to force a reschedule of itself onto another
> CPU?

In 5.x there's a sched_bind() interface that can be used to pin a thread to an 
arbitrary CPU.

-- 
John Baldwin <jhb at FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve"  =  http://www.FreeBSD.org


More information about the freebsd-smp mailing list