[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAPDyKFovPNBv+Fx5SgzrD6Fn+1qOfXnS=Fm0cHB=0CWKMUHrSg@mail.gmail.com>
Date: Tue, 13 Sep 2016 09:17:17 +0200
From: Ulf Hansson <ulf.hansson@...aro.org>
To: Alex Shi <alex.shi@...aro.org>
Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
open list <linux-kernel@...r.kernel.org>,
"linux-pm@...r.kernel.org" <linux-pm@...r.kernel.org>,
Daniel Lezcano <daniel.lezcano@...aro.org>,
"Rafael J. Wysocki" <rjw@...ysocki.net>
Subject: Re: [PATCH 2/4] cpu: expose pm_qos_resume_latency for each cpu
On 13 September 2016 at 03:04, Alex Shi <alex.shi@...aro.org> wrote:
> 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.
Sure, I understand that. Although, my point is that it's only when the
menu governor is enabled, that it would make sense for userspace to
modify the PM QoS values for the cpu device.
>
> Since this is per device interface, set it on menu governor isn't so good.
You may be right, and it's not a big deal for me! It was just an idea.
Kind regards
Uffe
Powered by blists - more mailing lists