Date: Tue, 26 Oct 2004 19:25:54 +0200 From: Christian Brueffer <chris@unixpages.org> To: Joseph Koshy <joseph.koshy@gmail.com> Cc: freebsd-smp@freebsd.org Subject: Re: Moving a kthread between CPUs? Message-ID: <20041026172553.GD64034@unixpages.org> In-Reply-To: <84dead7204101909093c3a6f27@mail.gmail.com> References: <84dead7204101320022bd6602e@mail.gmail.com> <200410141441.56479.jhb@FreeBSD.org> <84dead7204101909093c3a6f27@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--lMM8JwqTlfDpEaS6 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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 threa= d to an > > arbitrary CPU. >=20 > sched_bind() could work. Thanks. >=20 > 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. - Christian --=20 Christian Brueffer chris@unixpages.org brueffer@FreeBSD.org GPG Key: http://people.freebsd.org/~brueffer/brueffer.key.asc GPG Fingerprint: A5C8 2099 19FF AACA F41B B29B 6C76 178C A0ED 982D --lMM8JwqTlfDpEaS6 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQFBfoihbHYXjKDtmC0RAqEUAKCj9DjnpbbGMVrEvA/ZYd2kiqHx1wCffyAL ytfEUrjByzu79CZRFsG8Pt0= =+gNB -----END PGP SIGNATURE----- --lMM8JwqTlfDpEaS6--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041026172553.GD64034>