Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1190704

Re: [PATCH 1/3] x86/panic: Fix re-entrance problem due to panic on NMI

From Peter Zijlstra <peterz@infradead.org>
Newsgroups linux.kernel
Subject Re: [PATCH 1/3] x86/panic: Fix re-entrance problem due to panic on NMI
Date 2015-07-23 10:20 +0200
Message-ID <pPjTr-11y-11@gated-at.bofh.it> (permalink)
References <pOWNc-d3-11@gated-at.bofh.it> <pOWNc-d3-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Wed, Jul 22, 2015 at 11:14:21AM +0900, Hidehiro Kawai wrote:
> +DEFINE_SPINLOCK(panic_lock);

At the very least this should be a raw spinlock, but wth aren't you
using a simple atomic_xchg() ?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

Re: [PATCH 1/3] x86/panic: Fix re-entrance problem due to panic on  NMI Peter Zijlstra <peterz@infradead.org> - 2015-07-23 10:20 +0200

csiph-web