On Fri, 5 Sep 2014, Viresh Kumar wrote: > On 5 September 2014 17:36, Harry van Haaren <harryhaaren@xxxxxxxxx> wrote: > > The down_read_trylock() fails, the other checks are fine. > > So my initial guess was correct :) > > > If i'm understanding correctly, the cpufreq_rwsem locks the module > > from being unloaded during critical sections while writing to CPU > > speed etc? > > Its not about changing speed, but its more of a lock for critical sections > only.. So, yes its required.. > > > Would that mean that an un-matched pair of down_read() up_write() > > could cause the failure of changing CPU speed? > > Probably yes, but why doesn't that happen without rt? I think Carsten had looked into this. -- To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html