Date: Tue, 9 Feb 2010 18:58:56 +0100 From: Attilio Rao <attilio@freebsd.org> To: John Baldwin <jhb@freebsd.org> 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 Message-ID: <3bbf2fe11002090958i850d50bt404998c3aefc5bfb@mail.gmail.com> In-Reply-To: <201002091254.09935.jhb@freebsd.org> References: <201002091456.o19EuA4w099388@svn.freebsd.org> <201002091254.09935.jhb@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
2010/2/9 John Baldwin <jhb@freebsd.org>: > On Tuesday 09 February 2010 9:56:10 am Attilio Rao wrote: >> Author: attilio >> Date: Tue Feb 9 14:56:10 2010 >> New Revision: 203704 >> URL: http://svn.freebsd.org/changeset/base/203704 >> >> Log: >> MFC r202889, r202940: >> - Fix a race in sched_switch() of sched_4bsd. >> Block the td_lock when acquiring explicitly sched_lock in order to prevent >> races with other td_lock contenders. >> - Merge the ULE's internal function thread_block_switch() into the global >> thread_lock_block() and make the former semantic as the default for >> thread_lock_block(). >> - 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 -- Peace can only be achieved by understanding - A. Einstein
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3bbf2fe11002090958i850d50bt404998c3aefc5bfb>
