Re: CpuFreq Laptop Scaling broken?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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?

@Steven: Any guesses ?
--
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




[Index of Archives]     [RT Stable]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux