[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <51d63f20-4834-184b-2ac2-30c399bd9988@linaro.org>
Date: Tue, 19 Apr 2022 22:26:56 +0200
From: Daniel Lezcano <daniel.lezcano@...aro.org>
To: srinivas pandruvada <srinivas.pandruvada@...ux.intel.com>,
"Rafael J. Wysocki" <rafael@...nel.org>
Cc: Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Linux PM <linux-pm@...r.kernel.org>
Subject: Re: [PATCH v2 0/4] tools/thermal: thermal library and tools
Hi Srinivas,
On 18/04/2022 05:36, srinivas pandruvada wrote:
> Hi Daniel,
>
> The attached diff fixes the crash,
>
> Also when you run in daemon mode, you need to use some pid lock file.
> Otherwise it launches multiple daemons.
I've been thinking about it and I don't think it is a problem to have
multiple instances of the daemon. The netlink allows multicast and can
be run as non-root user.
If the finality of the thermal engine is to manage the system and has
some code making actions on the system with the root privilege, the init
scripts can take care of the pid lock
--
<http://www.linaro.org/> Linaro.org │ Open source software for ARM SoCs
Follow Linaro: <http://www.facebook.com/pages/Linaro> Facebook |
<http://twitter.com/#!/linaroorg> Twitter |
<http://www.linaro.org/linaro-blog/> Blog
Powered by blists - more mailing lists