Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752969AbbBXVSK (ORCPT ); Tue, 24 Feb 2015 16:18:10 -0500 Received: from mail.skyhub.de ([78.46.96.112]:46357 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752617AbbBXVSI (ORCPT ); Tue, 24 Feb 2015 16:18:08 -0500 Date: Tue, 24 Feb 2015 22:19:37 +0100 From: Borislav Petkov To: "Luck, Tony" Cc: Naoya Horiguchi , Naoya Horiguchi , Vivek Goyal , "linux-kernel@vger.kernel.org" , Junichi Nomura , Kiyoshi Ueda Subject: Re: [PATCH 1/2] x86: mce: kdump: use under_crashdumping to turn off MCE in all CPUs together Message-ID: <20150224211937.GP3420@pd.tnic> References: <20150223092739.GA22757@pd.tnic> <54EB24BE.5050006@gmail.com> <20150223135842.GA22753@pd.tnic> <54EB4A17.6020800@gmail.com> <20150223170653.GA16699@pd.tnic> <20150224081517.GB2918@hori1.linux.bs1.fc.nec.co.jp> <20150224095616.GB3420@pd.tnic> <3908561D78D1C84285E8C5FCA982C28F329EB977@ORSMSX114.amr.corp.intel.com> <20150224184033.GL3420@pd.tnic> <3908561D78D1C84285E8C5FCA982C28F329EBC73@ORSMSX114.amr.corp.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <3908561D78D1C84285E8C5FCA982C28F329EBC73@ORSMSX114.amr.corp.intel.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 697 Lines: 19 On Tue, Feb 24, 2015 at 06:47:23PM +0000, Luck, Tony wrote: > since offline cpus will still show up to rendezvous ... perhaps > "num_present_cpus()" is the right number?? Provided nmi_shootdown_cpus() code path clears offlined CPUs from cpumasks so that num_present_cpus() or any other for that matter returns the correct number, but I don't see it upon a quick grep... -- Regards/Gruss, Boris. ECO tip #101: Trim your mails when you reply. -- -- 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/