From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760142Ab2BJUgL (ORCPT ); Fri, 10 Feb 2012 15:36:11 -0500 Received: from casper.infradead.org ([85.118.1.10]:37223 "EHLO casper.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755209Ab2BJUgK (ORCPT ); Fri, 10 Feb 2012 15:36:10 -0500 Subject: Re: WARNING: at arch/x86/kernel/smp.c:119 native_smp_send_reschedule+0x25/0x43() From: Peter Zijlstra To: Don Zickus Cc: "Srivatsa S. Bhat" , Sasha Levin , Josh Boyer , "H. Peter Anvin" , Ingo Molnar , Thomas Gleixner , Avi Kivity , kvm , linux-kernel , x86 , Suresh B Siddha , Sergey Senozhatsky In-Reply-To: <20120210203117.GI5650@redhat.com> References: <1328751082.5611.6.camel@lappy> <4F34EC35.7010109@linux.vnet.ibm.com> <1328900283.25989.45.camel@laptop> <1328900633.25989.47.camel@laptop> <20120210200250.GG5650@redhat.com> <1328905121.25989.52.camel@laptop> <20120210203117.GI5650@redhat.com> Content-Type: text/plain; charset="UTF-8" Date: Fri, 10 Feb 2012 21:36:03 +0100 Message-ID: <1328906163.25989.59.camel@laptop> Mime-Version: 1.0 X-Mailer: Evolution 2.32.2 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 2012-02-10 at 15:31 -0500, Don Zickus wrote: > So my second patch which I will eventually post will just skip the WARN_ON > if the system is going down. Not sure if that is the proper way to address > this problem or change all of the stop_this_cpu code to use a different > bitmask than the cpu_online bitmask (but then you run the risk of a stuck > IPI I guess if the cpu is halted without notifying anyone). Yeah, the async hard kill of all cpus is bound to make problems.. what I'm wondering is, why is this in the normal shutdown path and not specific to a hard panic? Trying to make this work is just not going to be pretty, and in the panic case we really don't care much.