Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753739AbbBXSr1 (ORCPT ); Tue, 24 Feb 2015 13:47:27 -0500 Received: from mga09.intel.com ([134.134.136.24]:38869 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753095AbbBXSr0 (ORCPT ); Tue, 24 Feb 2015 13:47:26 -0500 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.09,640,1418112000"; d="scan'208";a="682778270" From: "Luck, Tony" To: Borislav Petkov 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 Thread-Topic: [PATCH 1/2] x86: mce: kdump: use under_crashdumping to turn off MCE in all CPUs together Thread-Index: AQHQT0jZuvMOBL1AfkmyeYjgPGZ0iZz+fXmAgAA71wCAAA/kAIAAHKKAgAAX8oCAAP3jgIAAHCEAgAAGCpCAAIxygP//ep6g Date: Tue, 24 Feb 2015 18:47:23 +0000 Message-ID: <3908561D78D1C84285E8C5FCA982C28F329EBC73@ORSMSX114.amr.corp.intel.com> References: <1424682719-16493-1-git-send-email-n-horiguchi@ah.jp.nec.com> <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> In-Reply-To: <20150224184033.GL3420@pd.tnic> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.22.254.139] Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by nfs id t1OIlWes021658 Content-Length: 521 Lines: 19 > If that is the case, the tolerance level might be the better approach > after all... We should also take a look at mce_start(): int cpus = num_online_cpus(); ... /* * Wait for everyone. */ while (atomic_read(&mce_callin) != cpus) { since offline cpus will still show up to rendezvous ... perhaps "num_present_cpus()" is the right number?? -Tony ????{.n?+???????+%?????ݶ??w??{.n?+????{??G?????{ay?ʇڙ?,j??f???h?????????z_??(?階?ݢj"???m??????G????????????&???~???iO???z??v?^?m???? ????????I?