From owner-freebsd-smp@FreeBSD.ORG Thu Oct 14 19:09:31 2004 Return-Path: Delivered-To: freebsd-smp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7287C16A4CE for ; Thu, 14 Oct 2004 19:09:31 +0000 (GMT) Received: from mail4.speakeasy.net (mail4.speakeasy.net [216.254.0.204]) by mx1.FreeBSD.org (Postfix) with ESMTP id 288C443D2F for ; Thu, 14 Oct 2004 19:09:31 +0000 (GMT) (envelope-from jhb@FreeBSD.org) Received: (qmail 9035 invoked from network); 14 Oct 2004 19:09:30 -0000 Received: from dsl027-160-063.atl1.dsl.speakeasy.net (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender ) encrypted SMTP for ; 14 Oct 2004 19:09:30 -0000 Received: from [10.50.40.210] (gw1.twc.weather.com [216.133.140.1]) (authenticated bits=0) by server.baldwin.cx (8.12.11/8.12.11) with ESMTP id i9EJ9QOS010209; Thu, 14 Oct 2004 15:09:26 -0400 (EDT) (envelope-from jhb@FreeBSD.org) From: John Baldwin To: freebsd-smp@FreeBSD.org, Joseph Koshy Date: Thu, 14 Oct 2004 14:41:56 -0400 User-Agent: KMail/1.6.2 References: <84dead7204101320022bd6602e@mail.gmail.com> In-Reply-To: <84dead7204101320022bd6602e@mail.gmail.com> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200410141441.56479.jhb@FreeBSD.org> X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on server.baldwin.cx Subject: Re: Moving a kthread between CPUs? X-BeenThere: freebsd-smp@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: FreeBSD SMP implementation group List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Oct 2004 19:09:31 -0000 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 <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" = http://www.FreeBSD.org