Moving a kthread between CPUs?

John Baldwin jhb at freebsd.org
Tue Oct 26 14:15:48 PDT 2004


On Tuesday 26 October 2004 01:25 pm, Christian Brueffer wrote:
> On Tue, Oct 19, 2004 at 09:39:14PM +0530, Joseph Koshy wrote:
> > > In 5.x there's a sched_bind() interface that can be used to pin a
> > > thread to an arbitrary CPU.
> >
> > sched_bind() could work.  Thanks.
> >
> > A quick grep didn't reveal any uses of sched_{bind,unbind} inside the
> > kernel though ...
>
> It's used in src/sys/kern/sched_ule.c and src/sys/kern/sched_4bsd.c.

It's implemented there, but not used.

-- 

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