From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Paul E. McKenney" Subject: Re: Regression with suspicious RCU usage splats with cpu_pm change Date: Thu, 13 Jul 2017 05:43:18 -0700 Message-ID: <20170713124318.GK2393@linux.vnet.ibm.com> References: <20170713070749.GE16509@atomide.com> Reply-To: paulmck@linux.vnet.ibm.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: Sender: linux-pm-owner@vger.kernel.org To: "Rafael J. Wysocki" Cc: Alex Shi , Tony Lindgren , Linux Kernel Mailing List , Linux PM , Linux OMAP Mailing List , Catalin Marinas , Will Deacon List-Id: linux-omap@vger.kernel.org On Thu, Jul 13, 2017 at 01:50:26PM +0200, Rafael J. Wysocki wrote: > On Thu, Jul 13, 2017 at 11:43 AM, Alex Shi wrote: > > > > On 07/13/2017 03:07 PM, Tony Lindgren wrote: > >> Hi, > >> > >> Looks like next-20170713 gives me a bunch of "suspicious RCU usage" > >> splats with cpuidle_coupled on duovero, see below. I bisected it down > >> to commit 2f027e003d05 ("cpu_pm: replace raw_notifier with > >> atomic_notifier"). > > OK, so I'm dropping this commit. You can surround idle-loop RCU-reading code with RCU_NONIDLE(). This will tell RCU to pay attention even though the CPU is otherwise idle. Thanx, Paul