Re: RFC: Leave sysfs nodes alone during hotplug
Viresh Kumar <[email protected]> Tue, 8 Jul 2014 08:10:28 +0530
| Newsgroups | org.kernel.vger.cpufreq,org.infradead.lists.linux-arm-kernel,org.kernel.vger.linux-arm-msm,org.kernel.vger.linux-pm |
|---|---|
| Message-ID | <CAKohpokvRnLU+DQBX39odAf5wxuzWjLi=sy5t2fYReoHCfshwQ@mail.gmail.com> |
On 8 July 2014 04:10, Todd Poynor <[email protected]> wrote: > For Android's usage we're also interested in both: > > 1. not removing and recreating the cpufreq sysfs files for a CPU on > hotplug events (we currently use hotplug uevents to reset file > ownership such that power policy can be controlled by non-root). > > 2. not resetting the contents of policy files such as scaling_max_freq > (also fixed up from uevents) or stats files (we currently keep a > separate persistent time_in_state for battery accounting purposes). So, we actually need to retain all the files. I will try to see this separately. Will add it in my todo list.