[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20180605055334.mnffwgcvca3zzwub@vireshk-i7>
Date: Tue, 5 Jun 2018 11:23:34 +0530
From: Viresh Kumar <viresh.kumar@...aro.org>
To: Daniel Lezcano <daniel.lezcano@...aro.org>
Cc: rjw@...ysocki.net, edubezval@...il.com, kevin.wangtao@...aro.org,
leo.yan@...aro.org, vincent.guittot@...aro.org,
linux-kernel@...r.kernel.org, javi.merino@...nel.org,
rui.zhang@...el.com, linux-pm@...r.kernel.org,
daniel.thompson@...aro.org
Subject: Re: [PATCH V4] powercap/drivers/idle_injection: Add an idle
injection framework
On 05-06-18, 07:48, Daniel Lezcano wrote:
> As soon as we reach complete(), no timer can be set because of the
> condition before.
Why not ? We aren't using any locks here and it is possible that run_duration_ms
is set to 0 from idle_injection_stop() only after the first thread has restarted
the hrtimer. Isn't it ?
--
viresh
Powered by blists - more mailing lists