From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751185AbbEBAeo (ORCPT ); Fri, 1 May 2015 20:34:44 -0400 Received: from mga02.intel.com ([134.134.136.20]:6209 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750808AbbEBAem (ORCPT ); Fri, 1 May 2015 20:34:42 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.13,353,1427785200"; d="scan'208";a="488304590" From: "Zheng, Lv" To: Borislav Petkov CC: linux-edac , Jiri Kosina , Borislav Petkov , "Rafael J. Wysocki" , "Len Brown" , "Luck, Tony" , Tomasz Nowicki , "Chen, Gong" , Wolfram Sang , Naoya Horiguchi , "linux-acpi@vger.kernel.org" , "linux-kernel@vger.kernel.org" Subject: RE: [RFC PATCH 5/5] GHES: Make NMI handler have a single reader Thread-Topic: [RFC PATCH 5/5] GHES: Make NMI handler have a single reader Thread-Index: AQHQaG/ro4UZP9zjdEyK4aA7ppX1rp1imlXQ//+FsoCAATPzQIAAB3pA///2boCAAhVQ0P//hrgAAGNFhCA= Date: Sat, 2 May 2015 00:34:19 +0000 Message-ID: <1AE640813FDE7649BE1B193DEA596E8802712455@SHSMSX101.ccr.corp.intel.com> References: <1427448178-20689-1-git-send-email-bp@alien8.de> <1427448178-20689-6-git-send-email-bp@alien8.de> <1AE640813FDE7649BE1B193DEA596E880270F835@SHSMSX101.ccr.corp.intel.com> <20150428135913.GD19025@pd.tnic> <1AE640813FDE7649BE1B193DEA596E880270FB3B@SHSMSX101.ccr.corp.intel.com> <20150429081355.GA5498@pd.tnic> <1AE640813FDE7649BE1B193DEA596E8802712130@SHSMSX101.ccr.corp.intel.com> <20150430084838.GC3488@pd.tnic> In-Reply-To: <20150430084838.GC3488@pd.tnic> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] 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 t420Yphx010401 Hi, > From: Borislav Petkov [mailto:bp@alien8.de] > Sent: Thursday, April 30, 2015 4:49 PM > > On Thu, Apr 30, 2015 at 08:05:12AM +0000, Zheng, Lv wrote: > > Are there any such data around the SC and LL (MIPS)? > > What, you can't search the internet yourself? I mean if LL can do what you exactly did with "if" and no ABA problem can break the atomic_add_unless() users. Then no atomic_cmpxchg() users might be broken for the same reason. Why don't you put an "if" in the atomic_cmpxchg() to allow other users to have the same benefit because of the data? But this is out of the context for this patch. I actually don't have any API usage preference now. Thanks -Lv > > -- > Regards/Gruss, > Boris. > > ECO tip #101: Trim your mails when you reply. > -- {.n++%ݶw{.n+{G{ayʇڙ,jfhz_(階ݢj"mG?&~iOzv^m ?I