lkml.org 
[lkml]   [2016]   [Feb]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH 2/11] cpufreq: governor: Use common mutex for dbs_data protection
From
On Fri, Feb 5, 2016 at 4:24 AM, Viresh Kumar <viresh.kumar@linaro.org> wrote:
> On 05-02-16, 04:17, Rafael J. Wysocki wrote:
>> And don't we switch governors under policy->rwsem anyway?
>
> So ? That is blocking only a single policy only, but with the new
> change, we will block all policies from doing that concurrently.

No, it won't. Again: one lock instead of two. How much of a
difference this makes performance-wise?

And the price is the stupid dance we need to do to even get to those
locks! Come on.

Thanks,
Rafael

\
 
 \ /
  Last update: 2016-02-05 05:01    [W:0.077 / U:1.828 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site