From owner-svn-src-all@FreeBSD.ORG Tue Feb 9 17:58:59 2010 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 92451106566B; Tue, 9 Feb 2010 17:58:59 +0000 (UTC) (envelope-from asmrookie@gmail.com) Received: from mail-iw0-f172.google.com (mail-iw0-f172.google.com [209.85.223.172]) by mx1.freebsd.org (Postfix) with ESMTP id 2B9338FC15; Tue, 9 Feb 2010 17:58:58 +0000 (UTC) Received: by iwn2 with SMTP id 2so77113iwn.8 for ; Tue, 09 Feb 2010 09:58:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to:cc :content-type:content-transfer-encoding; bh=MAUIWO7CjyuOOyoXCbc6XtcbnIiSqU15muK4QkOA+3c=; b=b/0n1PLCyvz6oS6YbJdHAozjVXUd/5aejuZRT9ElJC1ph4fwI2E0uuGIcdwSlS2naS 8Bi8cBxl/qjRKI5hniH2G6mBMN9vxmqBlWByt0VA+82vPTze9nqHXrQ8BrD2MILB2rur 1aEud9AVnlY53SmxC+a25l6mN9gTI31TbJ2Zo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=m56SUzGiaK85r9eZ70RiBmUFRlSo53MXcI98iTwjOclio/HpcR7V2KSSFUSQLml1Ax 1YFUx7YMP4WsIqjKAJmDW0yQmlQRAKzqOzfzU8jOUfChV2EG8b+sCUL0j/a4FdmbZpQV AgZLD1d8pQ8mc+3U1s3SCpOo3+Um0LVDMRv3g= MIME-Version: 1.0 Sender: asmrookie@gmail.com Received: by 10.231.168.136 with SMTP id u8mr748040iby.56.1265738336256; Tue, 09 Feb 2010 09:58:56 -0800 (PST) In-Reply-To: <201002091254.09935.jhb@freebsd.org> References: <201002091456.o19EuA4w099388@svn.freebsd.org> <201002091254.09935.jhb@freebsd.org> Date: Tue, 9 Feb 2010 18:58:56 +0100 X-Google-Sender-Auth: a5629e27620976ce Message-ID: <3bbf2fe11002090958i850d50bt404998c3aefc5bfb@mail.gmail.com> From: Attilio Rao To: John Baldwin Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: svn-src-stable@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org, svn-src-stable-7@freebsd.org Subject: Re: svn commit: r203704 - stable/7/sys/kern X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Feb 2010 17:58:59 -0000 2010/2/9 John Baldwin : > On Tuesday 09 February 2010 9:56:10 am Attilio Rao wrote: >> Author: attilio >> Date: Tue Feb =C2=A09 14:56:10 2010 >> New Revision: 203704 >> URL: http://svn.freebsd.org/changeset/base/203704 >> >> Log: >> =C2=A0 MFC r202889, r202940: >> =C2=A0 - Fix a race in sched_switch() of sched_4bsd. >> =C2=A0 =C2=A0 Block the td_lock when acquiring explicitly sched_lock in = order to prevent >> =C2=A0 =C2=A0 races with other td_lock contenders. >> =C2=A0 - Merge the ULE's internal function thread_block_switch() into th= e global >> =C2=A0 =C2=A0 thread_lock_block() and make the former semantic as the de= fault for >> =C2=A0 =C2=A0 thread_lock_block(). >> =C2=A0 - Split out an invariant in order to have better checks. > > Does this require an MFC of a change to cpu_switch() for sparc64? It is already done by marius. (I waited for his work before to let this go in). Attilio --=20 Peace can only be achieved by understanding - A. Einstein