lkml.org 
[lkml]   [2022]   [Apr]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH v2 0/4] tools/thermal: thermal library and tools
From

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

\
 
 \ /
  Last update: 2022-04-19 22:28    [W:0.088 / U:0.088 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site