From owner-cvs-src@FreeBSD.ORG Tue Jun 5 04:06:34 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id DC45B16A400; Tue, 5 Jun 2007 04:06:34 +0000 (UTC) (envelope-from jroberson@chesapeake.net) Received: from webaccess-cl.virtdom.com (webaccess-cl.virtdom.com [216.240.101.25]) by mx1.freebsd.org (Postfix) with ESMTP id A542913C44B; Tue, 5 Jun 2007 04:06:34 +0000 (UTC) (envelope-from jroberson@chesapeake.net) Received: from [192.168.1.101] (c-71-231-138-78.hsd1.or.comcast.net [71.231.138.78]) (authenticated bits=0) by webaccess-cl.virtdom.com (8.13.6/8.13.6) with ESMTP id l5546Vb2082634 (version=TLSv1/SSLv3 cipher=DHE-DSS-AES256-SHA bits=256 verify=NO); Tue, 5 Jun 2007 00:06:32 -0400 (EDT) (envelope-from jroberson@chesapeake.net) Date: Mon, 4 Jun 2007 21:06:18 -0700 (PDT) From: Jeff Roberson X-X-Sender: jroberson@10.0.0.1 To: Jeff Roberson In-Reply-To: <200706050346.l553ktYj097061@repoman.freebsd.org> Message-ID: <20070604210543.L606@10.0.0.1> References: <200706050346.l553ktYj097061@repoman.freebsd.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/kern sched_4bsd.c sched_ule.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Jun 2007 04:06:35 -0000 Woops, this is broken on amd64. fine on other architectures. Please stand by for a better patch. Thanks, Jeff PS Pointy hat to kan! (ok not really) On Tue, 5 Jun 2007, Jeff Roberson wrote: > jeff 2007-06-05 03:46:55 UTC > > FreeBSD src repository > > Modified files: > sys/kern sched_4bsd.c sched_ule.c > Log: > - Pass &sched_lock as the third argument to cpu_switch() as this will > always be the correct lock and we don't get volatile warnings this > way. > > Pointed out by: kan > > Revision Changes Path > 1.99 +1 -1 src/sys/kern/sched_4bsd.c > 1.195 +1 -1 src/sys/kern/sched_ule.c >