Thread (10 messages) 10 messages, 4 authors, 2016-06-23

Re: [PATCH] cpuidle/powernv: Fix snooze timeout

From: Balbir Singh <bsingharora@gmail.com>
Date: 2016-06-23 09:55:59
Also in: linuxppc-dev

quoted
This is still a rounding error but at a different site. I see we saved
a division by doing a >> 10, but we added it right back by doing a /20
later in the platform code.
While a >> 10 is done at every idle exit, div by 20 is done once during
boot, so this doesn't negate the previous optimization.
Yes, fair point
quoted
Shouldn't the rounding affect other
platforms as well? Can't we fix it in cpuidle_enter_state().
This does affect all platforms, but I'm guessing no other place relied
on the precision of last_residency calculations.
Daniel can perhaps comment on this.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help