[lkml]   [2014]   [Mar]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [RFC v3] cpufreq: Make sure frequency transitions are serialized
On 19 March 2014 17:45, Srivatsa S. Bhat
<> wrote:
> diff --git a/include/linux/cpufreq.h b/include/linux/cpufreq.h
> + bool transition_ongoing; /* Tracks transition status */
> + struct mutex transition_lock;
> + wait_queue_head_t transition_wait;

Similar to what I have done in my last version, why do you need
transition_ongoing and transition_wait? Simply work with
transition_lock? i.e. Acquire it for the complete transition sequence.

 \ /
  Last update: 2014-03-19 15:21    [W:0.107 / U:5.952 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site