linux-mips
[Top] [All Lists]

Re: [PATCH V2 6/8] MIPS: Add NMI notifier

To: Kevin Cernekee <cernekee@gmail.com>
Subject: Re: [PATCH V2 6/8] MIPS: Add NMI notifier
From: Ralf Baechle <ralf@linux-mips.org>
Date: Fri, 11 Nov 2011 13:34:44 +0000
Cc: linux-mips@linux-mips.org
In-reply-to: <598dabc28eb6fdbd820ea80c0a57e87d@localhost>
References: <5f9666eb295ce196b2a9688afab07dea@localhost> <598dabc28eb6fdbd820ea80c0a57e87d@localhost>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.5.21 (2010-09-15)
On Thu, Nov 10, 2011 at 10:30:29PM -0800, Kevin Cernekee wrote:

> + * No lock; only written during early bootup by CPU 0.

And if that wasn't the case, an NMI might come at any time, even with the
lock already being held which would result in a deadlock.  NMIs are
nasty stuff - and on MIPS they're just slightly more evil.

  Ralf

<Prev in Thread] Current Thread [Next in Thread>