Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261336AbVDZEX0 (ORCPT ); Tue, 26 Apr 2005 00:23:26 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261335AbVDZEXU (ORCPT ); Tue, 26 Apr 2005 00:23:20 -0400 Received: from 70-56-217-9.albq.qwest.net ([70.56.217.9]:53460 "EHLO montezuma.fsmlabs.com") by vger.kernel.org with ESMTP id S261331AbVDZEXF (ORCPT ); Tue, 26 Apr 2005 00:23:05 -0400 Date: Mon, 25 Apr 2005 22:25:17 -0600 (MDT) From: Zwane Mwaikambo To: Li Shaohua cc: lkml , Andrew Morton , Andi Kleen Subject: Re: [PATCH]broadcast IPI race condition on CPU hotplug In-Reply-To: <1114482044.7068.17.camel@sli10-desk.sh.intel.com> Message-ID: References: <1114482044.7068.17.camel@sli10-desk.sh.intel.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 823 Lines: 21 Hi Shaohua, On Tue, 26 Apr 2005, Li Shaohua wrote: > After a CPU is booted but before it's officially up (set online map, and > enable interrupt), the CPU possibly will receive a broadcast IPI. After > it's up, it will handle the stale interrupt soon and maybe cause oops if > it's a smp-call-function-interrupt. This is quite possible in CPU > hotplug case, but nearly can't occur at boot time. Below patch replaces > broadcast IPI with send_ipi_mask just like the cluster mode. Ok, but isn't it sufficient to use send_ipi_mask in smp_call_function instead? Thanks, Zwane - 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/