From mboxrd@z Thu Jan 1 00:00:00 1970 From: Peter Zijlstra Subject: Re: regression caused by 08f511fd41c3 ("cpufreq: Reduce cpufreq_update_util() overhead a bit") Date: Fri, 17 Jun 2016 16:03:53 +0200 Message-ID: <20160617140353.GQ30154@twins.programming.kicks-ass.net> References: <20160617163023.5bb374f8@xhacker> <20160617164054.6339c5d4@xhacker> <20160617131651.GU3923@linux.vnet.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from merlin.infradead.org ([205.233.59.134]:40493 "EHLO merlin.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753405AbcFQOED (ORCPT ); Fri, 17 Jun 2016 10:04:03 -0400 Content-Disposition: inline In-Reply-To: <20160617131651.GU3923@linux.vnet.ibm.com> Sender: linux-pm-owner@vger.kernel.org List-Id: linux-pm@vger.kernel.org To: "Paul E. McKenney" Cc: "Rafael J. Wysocki" , Jisheng Zhang , "Rafael J. Wysocki" , Viresh Kumar , "linux-pm@vger.kernel.org" , Linux Kernel Mailing List On Fri, Jun 17, 2016 at 06:16:51AM -0700, Paul E. McKenney wrote: > > Paul, Peter, any ideas about what may be going on here? > > Looks to me like this commit moved some code from synchronize_rcu() to > synchronize_sched(). Assuming that this is a CONFIG_PREEMPT=y system, > might there have been a decrease in the wakeups from the rcu_preempt > kthread? The 'funny' thing is though; those synchronize thingies are only reached when we change cpufreq policy, so things like: for i in /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor ; do echo performance > $i ; done Something which is hardly possible when idle. Weird.