Re: [PATCH 00/15] tick/sched: Refactor idle cputime accounting

From
Frederic Weisbecker <frederic@kernel.org>
Date
2026-01-21 16:55:31
Also in
linux-pm, linux-s390, lkml
Reply to
Shrikanth Hegde, 2026-01-20
Le Tue, Jan 20, 2026 at 06:12:08PM +0530, Shrikanth Hegde a écrit :
Hi Frederic.

On 1/16/26 8:27 PM, Frederic Weisbecker wrote:
quoted
I forgot to mention I haven't yet tested CONFIG_VIRT_CPU_ACCOUNTING_NATIVE
(s390 and powerpc).

Thanks.

tl;dr

I ran this on powerNV(Non virtualized) with 144 CPUs with below config. (default ones)
Patch *breaks* the cpu idle stats most of the time. idle values are wrong.
Right I somehow lost the TS_FLAG_INIDLE setting in tick_nohz_idle_enter(),
which ruins the whole thing.

You probably think I should have detected that with light testing and you're
right. Not checking dmesg was a bit sloppy from my end...

I'm fixing that and will send a v2 soonish.

Thanks a lot for testing!

-- 
Frederic Weisbecker
SUSE Labs
Thread (41 messages) 41 messages, 8 authors, last reply 2026-02-25
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help