From owner-freebsd-current@freebsd.org Fri Aug 21 15:54:35 2015 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C2BE39BF22F for ; Fri, 21 Aug 2015 15:54:35 +0000 (UTC) (envelope-from eric@vangyzen.net) Received: from smtp.vangyzen.net (hotblack.vangyzen.net [IPv6:2607:fc50:1000:7400:216:3eff:fe72:314f]) by mx1.freebsd.org (Postfix) with ESMTP id A7876C70; Fri, 21 Aug 2015 15:54:35 +0000 (UTC) (envelope-from eric@vangyzen.net) Received: from marvin.beer.town (unknown [76.164.8.130]) by smtp.vangyzen.net (Postfix) with ESMTPSA id D5BA756486; Fri, 21 Aug 2015 10:54:34 -0500 (CDT) Subject: Re: freebsd-head: suddenly NMI panics lead to ddb being unable to stop CPUs? To: Julian Elischer , Adrian Chadd References: <55D74193.4020008@FreeBSD.org> <55D74402.70104@freebsd.org> Cc: freebsd-current From: Eric van Gyzen Message-ID: <55D749B9.6010107@vangyzen.net> Date: Fri, 21 Aug 2015 10:54:33 -0500 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: <55D74402.70104@freebsd.org> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.20 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: Fri, 21 Aug 2015 15:54:35 -0000 On 08/21/2015 10:30, Julian Elischer wrote: > On 8/21/15 11:25 PM, Adrian Chadd wrote: >> Ah, cool. I'll give it a whirl. >> >> I'm a little worried about having all of the other cores spinning in >> this case (mostly thermal; the machines get VERY LOUD when the CPUs >> are spinning..) >> > make each spin with the pause instruction.. and for N seconds (N being the CPU ID) or something The patch (at the link below) does use the pause instruction. The CPU has to spin as long as any CPU is in the debugger. >> On 21 August 2015 at 08:19, Eric van Gyzen wrote: >>> I mentioned this to Adrian, but I'll mention here for everyone else's benefit. >>> >>> Ryan is exactly right. There was a thread a while ago, with a proposed patch from Kostik: >>> >>> https://lists.freebsd.org/pipermail/freebsd-arch/2014-July/015584.html >>>