Thread (16 messages) 16 messages, 3 authors, 2016-06-27

Re: [RESEND PATCH v2 2/2] power/idle: enhance the precision of sleep_length

From: Zhaoyang Huang <hidden>
Date: 2016-06-17 11:18:38
Also in: lkml

On 17 June 2016 at 17:27, Thomas Gleixner [off-list ref] wrote:
On Fri, 17 Jun 2016, Zhaoyang Huang wrote:
quoted
There should be a gap between tick_nohz_idle_enter and
tick_nohz_get_sleep_length when idle, which will cause the
sleep_length is not very precised. Change it in this patch.
What kind of imprecision are we talking about? Seconds, nanoseconds or
lightyears?

Your changelog lacks any form of useful information.

Thanks,

        tglx
sorry for the confusion. The imprecision can be caused by, for
example, the callback function registered for CPU_PM_ENTER, which may
consume a period of time within the 'idle' time. Besides, I also
wonder why not calc the 'sleep_length' in the
tick_nohz_get_sleep_length?  This value is calculated at very
beginning of the idle in current approach.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help