On 12 February 2015 at 11:22, Saravana Kannan skannan@codeaurora.org wrote:
I don't see anything wrong with scaling_governor showing the last used governor when the CPUs are just logically hotplug removed. In the physical
But the governor is *not* used currently by the CPUs and marking it used is completely wrong.
hotplug case, the whole directory would go away and the policy would be freed. So, this is not a concern there.
Its not relevant here.
Also, longer term (after your series goes in), I think we actually should NOT send POLICY_EXIT on just logical hotplug. That way, the governor tunables are not lost across a logical hotplug.
I am not sure about it. For example, after all CPUs of a policy are gone, the governor is free to be get removed. And so the user should be free to do rmmod on it.