Re: [RFC PATCH 11/19] cpufreq: assert policy->rwsem is held in __cpufreq_governor

From: Saravana Kannan
Date: Tue Feb 02 2016 - 16:38:38 EST


On 02/01/2016 10:36 PM, Viresh Kumar wrote:
On 01-02-16, 22:00, Rafael J. Wysocki wrote:
I'm not sure what you mean by "the sysfs lock" here? The policy rwsem
or something else?

He perhaps referred to the s_active.lock that we see in traces.


Yeah, that's what I mean. I generally don't use the exact name of the lock in emails (lazy to look it up) if there isn't a lot of chance for mistaking it for another lock.

-Saravana

--
Qualcomm Innovation Center, Inc.
The Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project