From owner-freebsd-sparc64@FreeBSD.ORG Sat Aug 13 14:38:14 2011 Return-Path: Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CB6C4106564A for ; Sat, 13 Aug 2011 14:38:14 +0000 (UTC) (envelope-from marius@alchemy.franken.de) Received: from alchemy.franken.de (alchemy.franken.de [194.94.249.214]) by mx1.freebsd.org (Postfix) with ESMTP id 648D78FC14 for ; Sat, 13 Aug 2011 14:38:14 +0000 (UTC) Received: from alchemy.franken.de (localhost [127.0.0.1]) by alchemy.franken.de (8.14.4/8.14.4/ALCHEMY.FRANKEN.DE) with ESMTP id p7DEc83v079486; Sat, 13 Aug 2011 16:38:09 +0200 (CEST) (envelope-from marius@alchemy.franken.de) Received: (from marius@localhost) by alchemy.franken.de (8.14.4/8.14.4/Submit) id p7DEc8aG079485; Sat, 13 Aug 2011 16:38:08 +0200 (CEST) (envelope-from marius) Date: Sat, 13 Aug 2011 16:38:07 +0200 From: Marius Strobl To: Peter Jeremy Message-ID: <20110813143807.GY48988@alchemy.franken.de> References: <20110526234728.GA69750@server.vk2pj.dyndns.org> <20110527120659.GA78000@alchemy.franken.de> <20110601231237.GA5267@server.vk2pj.dyndns.org> <20110608224801.GB35494@alchemy.franken.de> <20110613235144.GA12470@server.vk2pj.dyndns.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20110613235144.GA12470@server.vk2pj.dyndns.org> User-Agent: Mutt/1.4.2.3i Cc: freebsd-sparc64@freebsd.org Subject: Re: 'make -j16 universe' gives SIReset X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 Aug 2011 14:38:14 -0000 On Tue, Jun 14, 2011 at 09:51:44AM +1000, Peter Jeremy wrote: > On 2011-Jun-09 00:48:01 +0200, Marius Strobl wrote: > >I think meanwhile I had a sound idea how to achieve the necessary level > >of protection in the MD code using just atomic operations instead of > >sched_lock, which further down would also allow the use of SCHED_ULE. > > Sounds good - let me know if there's anything I can do to help. > Could you please give the following patch with SCHED_4BSD (cpu_switch() still is missing support for SCHED_ULE) with something like -j128 buildworlds a try on your V890? http://people.freebsd.org/~marius/sparc64_replace_sched_lock_w_atomic.diff Marius