From owner-freebsd-bugs@FreeBSD.ORG Thu Sep 9 16:46:58 2004 Return-Path: Delivered-To: freebsd-bugs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 604FC16A4CF for ; Thu, 9 Sep 2004 16:46:58 +0000 (GMT) Received: from duchess.speedfactory.net (duchess.speedfactory.net [66.23.201.84]) by mx1.FreeBSD.org (Postfix) with SMTP id A05B343D49 for ; Thu, 9 Sep 2004 16:46:57 +0000 (GMT) (envelope-from ups@tree.com) Received: (qmail 1313 invoked by uid 89); 9 Sep 2004 16:46:55 -0000 Received: from duchess.speedfactory.net (66.23.201.84) by duchess.speedfactory.net with SMTP; 9 Sep 2004 16:46:55 -0000 Received: (qmail 1293 invoked by uid 89); 9 Sep 2004 16:46:55 -0000 Received: from unknown (HELO palm.tree.com) (66.23.216.49) by duchess.speedfactory.net with SMTP; 9 Sep 2004 16:46:55 -0000 Received: from [127.0.0.1] (localhost.tree.com [127.0.0.1]) by palm.tree.com (8.12.10/8.12.10) with ESMTP id i89Gktmt090688; Thu, 9 Sep 2004 12:46:55 -0400 (EDT) (envelope-from ups@tree.com) From: Stephan Uphoff To: FreeBSD-gnats-submit@FreeBSD.org, freebsd-bugs@FreeBSD.org In-Reply-To: <200409090410.i894AQ0M005530@freefall.freebsd.org> References: <200409090410.i894AQ0M005530@freefall.freebsd.org> Content-Type: text/plain Message-Id: <1094748414.86226.1630.camel@palm.tree.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 Date: Thu, 09 Sep 2004 12:46:55 -0400 Content-Transfer-Encoding: 7bit Subject: Re: kern/71509: sched_pin ignored by sched_4bsd X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Sep 2004 16:46:58 -0000 sched_pin() is used by the i386 pmap to optimize TLB invalidation in SMP systems by limiting it to a single processor. Ignoring the thread pin count can cause a thread to migrate to another CPU where obsolete cached TLB entries may point to the wrong physical page. This could for example cause pmap_copy_page to copy to/from the wrong page.