From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753831AbcANKc1 (ORCPT ); Thu, 14 Jan 2016 05:32:27 -0500 Received: from mail-pa0-f46.google.com ([209.85.220.46]:35746 "EHLO mail-pa0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753598AbcANKcY (ORCPT ); Thu, 14 Jan 2016 05:32:24 -0500 Date: Thu, 14 Jan 2016 16:02:21 +0530 From: Viresh Kumar To: Michael Turquette Cc: Juri Lelli , linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, peterz@infradead.org, rjw@rjwysocki.net, steve.muckle@linaro.org, vincent.guittot@linaro.org, morten.rasmussen@arm.com, dietmar.eggemann@arm.com Subject: Re: [RFC PATCH 18/19] cpufreq: remove transition_lock Message-ID: <20160114103221.GB6078@vireshk> References: <1452533760-13787-1-git-send-email-juri.lelli@arm.com> <1452533760-13787-19-git-send-email-juri.lelli@arm.com> <20160112112409.GJ1084@ubuntu> <20160113005452.10884.77606@quark.deferred.io> <20160113063148.GJ6050@ubuntu> <20160113182131.1168.45753@quark.deferred.io> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20160113182131.1168.45753@quark.deferred.io> 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 13-01-16, 10:21, Michael Turquette wrote: > Quoting Viresh Kumar (2016-01-12 22:31:48) > > On 12-01-16, 16:54, Michael Turquette wrote: > > > __cpufreq_driver_target should be using a per-policy lock. > > > > It doesn't :) > > It should. I thought we wanted the routine doing DVFS to not sleep as it will be called from scheduler ? Looks fine otherwise. But yeah, the series is still incomplete in the sense that there is no lock today around __cpufreq_driver_target(). -- viresh