Re: cpuidle governor change

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

 



Hi Rickard,

On Wed, Nov 7, 2012 at 8:35 AM, Rickard Andersson
<rickard.andersson@xxxxxxxxxxxxxx> wrote:
> Hi,
>
> It is possible to change cpufreq governor from user space, but for cpuidle
> it is not possible to change governor from user space. Does anybody know why
> there is no support in cpuidle for changing governor from user space? Any
> special reason?

By default the sysfs interface for CPUIdle governors is disabled/read-only.
It can be enabled by passing 'cpuidle_sysfs_switch' in cmdline.
You will then get r/w entry instead of ro entry:
/sys/devices/system/cpu/cpuidle/current_governor
instead of
/sys/devices/system/cpu/cpuidle/current_governor_ro
-- 
Regards,
Sudeep


[Index of Archives]     [Linux ACPI]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [CPU Freq]     [Kernel Newbies]     [Fedora Kernel]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux