From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751458AbdAPB5a (ORCPT ); Sun, 15 Jan 2017 20:57:30 -0500 Received: from mga09.intel.com ([134.134.136.24]:6649 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751246AbdAPB53 (ORCPT ); Sun, 15 Jan 2017 20:57:29 -0500 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.33,236,1477983600"; d="scan'208";a="54261597" From: "Zheng, Lv" To: Borislav Petkov , "Rafael J. Wysocki" CC: "Paul E. McKenney" , Linux Kernel Mailing List , "stan.kain@gmail.com" , "waffolz@hotmail.com" , Josh Triplett , Steven Rostedt , "mathieu.desnoyers@efficios.com" , "jiangshanlai@gmail.com" , Ingo Molnar , Linus Torvalds Subject: RE: [PATCH] rcu: Narrow early boot window of illegal synchronous grace periods Thread-Topic: [PATCH] rcu: Narrow early boot window of illegal synchronous grace periods Thread-Index: AQHSbUYZyjgpS2I4KUmuK2ap8Jf4PaE1vsiAgAFZEgCAACtSgIAAH1wAgAAGUoCAAvOHgA== Date: Mon, 16 Jan 2017 01:57:25 +0000 Message-ID: <1AE640813FDE7649BE1B193DEA596E886CE2BD4E@SHSMSX101.ccr.corp.intel.com> References: <20170113023807.GA27120@linux.vnet.ibm.com> <20170113112519.q6tmariemhhk5e56@pd.tnic> <20170114080022.GS5238@linux.vnet.ibm.com> <20170114103525.i5bob5tjszqdfpvn@pd.tnic> <20170114125017.5wp2khn5scezeuau@pd.tnic> In-Reply-To: <20170114125017.5wp2khn5scezeuau@pd.tnic> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiMDY1NGQ3ZWUtNjUwZS00MmEzLWEzMDQtOWEwYjk0NzdiMjk4IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX0lDIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE1LjkuNi42IiwiVHJ1c3RlZExhYmVsSGFzaCI6Im0wVFwvdkowbHlcL0JOWG5EOWxmTmxjNU9aM2NVbitJVUhhalNwSDFnOGNZWT0ifQ== x-ctpclassification: CTP_IC 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 mail.home.local id v0G1vmqX025155 Hi, > From: Borislav Petkov [mailto:bp@alien8.de] > Subject: Re: [PATCH] rcu: Narrow early boot window of illegal synchronous grace periods > > On Sat, Jan 14, 2017 at 01:27:40PM +0100, Rafael J. Wysocki wrote: > > OK, so this fixes the problem with synchronize_rcu_expedited() in > > acpi_os_map_cleanup(), right? > > Yeah. > > > I wonder if the ACPI-specific fix is still needed, then? > > It is not strictly necessary. If you still think it would be better to > have it regardless, you could pick it up. I.e., making ACPI more robust, > yadda yadda. > > I dunno, though, perhaps it is only complicating the code unnecessarily > and then can be safely ignored with a mental note for future freezes. Glad to see it fixed inside of the API provider. IMO, ACPI fix is unnecessary as ACPI is just a user of the RCU APIs. And it's pointless to add special checks in the user side in order to use one of them. Thanks and best regards Lv > > -- > Regards/Gruss, > Boris. > > Good mailing practices for 400: avoid top-posting and trim the reply.