Re: freebsd-head: suddenly NMI panics lead to ddb being unable to stop CPUs?

From: Eric van Gyzen <eric_at_vangyzen.net>
Date: Fri, 21 Aug 2015 10:54:33 -0500
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 <vangyzen_at_freebsd.org> 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
>>>
Received on Fri Aug 21 2015 - 13:54:35 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:59 UTC