From owner-freebsd-current@FreeBSD.ORG Mon Aug 23 15:41:20 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C2AD216A4CE for ; Mon, 23 Aug 2004 15:41:20 +0000 (GMT) Received: from green.homeunix.org (pcp04371970pcs.nrockv01.md.comcast.net [69.140.223.203]) by mx1.FreeBSD.org (Postfix) with ESMTP id 55DEC43D53 for ; Mon, 23 Aug 2004 15:41:20 +0000 (GMT) (envelope-from green@green.homeunix.org) Received: from green.homeunix.org (green@localhost [127.0.0.1]) by green.homeunix.org (8.13.1/8.13.1) with ESMTP id i7NFfJi5058625; Mon, 23 Aug 2004 11:41:19 -0400 (EDT) (envelope-from green@green.homeunix.org) Received: (from green@localhost) by green.homeunix.org (8.13.1/8.13.1/Submit) id i7NFfJc2058624; Mon, 23 Aug 2004 11:41:19 -0400 (EDT) (envelope-from green) Date: Mon, 23 Aug 2004 11:41:19 -0400 From: Brian Fundakowski Feldman To: Doug White Message-ID: <20040823154119.GC77326@green.homeunix.org> References: <20040822115345.Y94593@carver.gumbysoft.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040822115345.Y94593@carver.gumbysoft.com> User-Agent: Mutt/1.5.6i cc: freebsd-current@freebsd.org Subject: Re: PLEASE TEST: IPI deadlock avoidance patch X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Aug 2004 15:41:20 -0000 On Sun, Aug 22, 2004 at 12:05:39PM -0700, Doug White wrote: > Hey folks, > > If you have a reasonably fast i386 or amd64 multiprocessor and/or > hyperthreading machine and are experiencing reproducible hangs during -j > buildwords and other highly parallel operations, please try this patch: > > http://people.freebsd.org/~dwhite/smp_rv_mtx.patch > > This patch avoids a deadlock between the smp_rendezvous() mechanism and > TLB shootdowns via pmap by forcing them to share a mutex. The patch has > been tested on several multiproc Xeon systems and a dual Opteron I have > here and is stable, but a couple of more eyeballs and varied loads > wouldn't hurt since this will be going into RELENG_5. > > If there's anything glaringly wrong from a style point of view, let me > know too. > > I plan on committing this late Monday or Tuesday, barring any serious > problems. > > Thanks to alc for the nudge on the solution and rwatson for staying up > late and testing it on his hardware. I couldn't even run portupgrade without a hard hang on my Athlon! -- Brian Fundakowski Feldman \'[ FreeBSD ]''''''''''\ <> green@FreeBSD.org \ The Power to Serve! \ Opinions expressed are my own. \,,,,,,,,,,,,,,,,,,,,,,\