From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Date: Thu, 23 Jul 2015 10:15:28 +0200 From: Peter Zijlstra Subject: Re: [PATCH 1/3] x86/panic: Fix re-entrance problem due to panic on NMI Message-ID: <20150723081528.GG25159@twins.programming.kicks-ass.net> References: <20150722021421.5155.74460.stgit@softrs> <20150722021421.5155.9710.stgit@softrs> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20150722021421.5155.9710.stgit@softrs> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "kexec" Errors-To: kexec-bounces+dwmw2=infradead.org@lists.infradead.org To: Hidehiro Kawai Cc: x86@kernel.org, Jonathan Corbet , linux-doc@vger.kernel.org, kexec@lists.infradead.org, linux-kernel@vger.kernel.org, Ingo Molnar , Thomas Gleixner , "Eric W. Biederman" , "H. Peter Anvin" , Masami Hiramatsu , Andrew Morton , Ingo Molnar , Vivek Goyal 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() ? _______________________________________________ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec