Thread (94 messages) 94 messages, 7 authors, 2016-02-03

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

From: Viresh Kumar <viresh.kumar@linaro.org>
Date: 2016-01-12 10:15:11
Also in: lkml

On 11-01-16, 17:35, Juri Lelli wrote:
Since cpufreq_set_policy is modifying policy, it has to work under policy->
rwsem protection.

Assert such condition.

Cc: "Rafael J. Wysocki" <redacted>
Cc: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Juri Lelli <redacted>
---
 drivers/cpufreq/cpufreq.c | 2 ++
 1 file changed, 2 insertions(+)
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>

-- 
viresh
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help