Re: [RFC v3] cpufreq: Make sure frequency transitions are serialized

From: Viresh Kumar
Date: Wed Mar 19 2014 - 09:35:57 EST

On 19 March 2014 17:45, Srivatsa S. Bhat
<srivatsa.bhat@xxxxxxxxxxxxxxxxxx> 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.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at