From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S966051AbbBDNAn (ORCPT ); Wed, 4 Feb 2015 08:00:43 -0500 Received: from pandora.arm.linux.org.uk ([78.32.30.218]:47722 "EHLO pandora.arm.linux.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965319AbbBDNAm (ORCPT ); Wed, 4 Feb 2015 08:00:42 -0500 Date: Wed, 4 Feb 2015 13:00:18 +0000 From: Russell King - ARM Linux To: Krzysztof Kozlowski Cc: paulmck@linux.vnet.ibm.com, Fengguang Wu , LKP , linux-kernel@vger.kernel.org, Bartlomiej Zolnierkiewicz , linux-arm-kernel@lists.infradead.org, Arnd Bergmann , MarkRutland Subject: Re: [rcu] [ INFO: suspicious RCU usage. ] Message-ID: <20150204130018.GG8656@n2100.arm.linux.org.uk> References: <20150201025922.GA16820@wfg-t540p.sh.intel.com> <1422957702.17540.1.camel@AMDC1943> <20150203162704.GR19109@linux.vnet.ibm.com> <1423049947.19547.6.camel@AMDC1943> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1423049947.19547.6.camel@AMDC1943> 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 On Wed, Feb 04, 2015 at 12:39:07PM +0100, Krzysztof Kozlowski wrote: > +Cc some ARM people I wish that people would CC this list with problems seen on ARM. I'm minded to just ignore this message because of this in the hope that by doing so, people will learn something... > > Another thing I could do would be to have an arch-specific Kconfig > > variable that made ARM responsible for informing RCU that the CPU > > was departing, which would allow a call to as follows to be placed > > immediately after the complete(): > > > > rcu_cpu_notify(NULL, CPU_DYING_IDLE, (void *)(long)smp_processor_id()); > > > > Note: This absolutely requires that the rcu_cpu_notify() -always- > > be allowed to execute!!! This will not work if there is -any- possibility > > of __cpu_die() powering off the outgoing CPU before the call to > > rcu_cpu_notify() returns. Exactly, so that's not going to be possible. The completion at that point marks the point at which power _could_ be removed from the CPU going down. -- FTTC broadband for 0.8mile line: currently at 10.5Mbps down 400kbps up according to speedtest.net.