[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <d96da934-a996-418e-a175-4ba463d3916b@linux.intel.com>
Date: Wed, 24 Apr 2024 04:44:41 -0700
From: Srinivas Pandruvada <srinivas.pandruvada@...ux.intel.com>
To: Daniel Lezcano <daniel.lezcano@...aro.org>,
"Rafael J. Wysocki" <rjw@...ysocki.net>
Cc: Linux PM <linux-pm@...r.kernel.org>, LKML <linux-kernel@...r.kernel.org>,
Lukasz Luba <lukasz.luba@....com>
Subject: Re: [PATCH v1 14/16] thermal: gov_user_space: Use .trip_crossed()
instead of .throttle()
On 4/24/24 04:34, Daniel Lezcano wrote:
> On 24/04/2024 13:32, Srinivas Pandruvada wrote:
>>
>> On 4/24/24 02:14, Daniel Lezcano wrote:
>>> On Wed, Apr 10, 2024 at 07:03:10PM +0200, Rafael J. Wysocki wrote:
>>>> From: Rafael J. Wysocki <rafael.j.wysocki@...el.com>
>>>>
>>>> Notifying user space about trip points that have not been crossed is
>>>> not particuarly useful, so modity the User Space governor to use the
>>>> .trip_crossed() callback, which is only invoked for trips that have
>>>> been
>>>> crossed, instead of .throttle() that is invoked for all trips in a
>>>> thermal zone every time the zone is updated.
>>>>
>>>> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@...el.com>
>>>> ---
>>> Acked-by: Daniel Lezcano <daniel.lezcano@...aro.org>
>>>
>>> I would also consider removing this governor which is pointless now
>>> that we
>>> have the netlink notification mechanism
>>
>> That is a good goal, But, not there yet to deprecate.
>
> What can be done to deprecate it ?
>
>
First we need to migrate all the existing usage to netlink. We need to
add some more netlink notifications. That is relatively easy.
The problem is user space changes are much slower to push than kernel.
Kernels changes gets deployed at faster pace in some distributions.
Thanks,
Srinivas
Powered by blists - more mailing lists