(2015/07/23 17:15), Peter Zijlstra wrote: > 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() ? Thanks for the comment. I just followed the current panic_lock implementation. Using atomic_xchg() may be OK. I'll try another version with atomic_xchg(). Regards, -- Hidehiro Kawai Hitachi, Ltd. Research & Development Group -- To unsubscribe from this list: send the line "unsubscribe linux-doc" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html