Date: Tue, 26 Oct 2004 17:01:35 -0400 From: John Baldwin <jhb@freebsd.org> To: Christian Brueffer <chris@unixpages.org> Cc: Joseph Koshy <joseph.koshy@gmail.com> Subject: Re: Moving a kthread between CPUs? Message-ID: <200410261701.35916.jhb@FreeBSD.org> In-Reply-To: <20041026172553.GD64034@unixpages.org> References: <84dead7204101320022bd6602e@mail.gmail.com> <84dead7204101909093c3a6f27@mail.gmail.com> <20041026172553.GD64034@unixpages.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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@FreeBSD.org> <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200410261701.35916.jhb>