Re: [PATCH 2/4] cpu: expose pm_qos_resume_latency for each cpu

From: Alex Shi
Date: Mon Sep 12 2016 - 21:05:15 EST


Cc Rafael.

On 09/01/2016 05:26 PM, Ulf Hansson wrote:
> In general I think the change makes sense, although it's this last
> piece here that I wonder about.
>
> Is it okay that we expose sysfs attributes to userspace that don't
> have any effect if they change the values? Perhaps it should be the
> responsibility of the menu governor somehow to expose the sysfs nodes
> instead? Unless there are some difficulties that prevents us from that
> of course.
>

Hi Ulf,

Sorry for response so late. The pm QoS designed to expose this interface
in userspace. Root user can change this value and made effect on device
sleeping status. That's required.

Since this is per device interface, set it on menu governor isn't so good.

Regards
Alex