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

From
Frederic Weisbecker <frederic@kernel.org>
Date
2026-01-19 22:13:00
Also in
linux-pm, linux-s390, lkml
Reply to
Peter Zijlstra, 2026-01-19
Le Mon, Jan 19, 2026 at 03:53:30PM +0100, Peter Zijlstra a écrit :
On Fri, Jan 16, 2026 at 03:51:53PM +0100, Frederic Weisbecker wrote:
quoted
 kernel/sched/cputime.c             | 302 +++++++++++++++++++++++++++++++------
My editor feels strongly about the below; with that it still has one
complaint about paravirt_steal_clock() which does not have a proper
declaration.
I guess it happens to be somehow included in the <linux/sched*.h> wave
quoted hunk ↗ jump to hunk
diff --git a/kernel/sched/cputime.c b/kernel/sched/cputime.c
index 7ff8dbec7ee3..248232fa6e27 100644
--- a/kernel/sched/cputime.c
+++ b/kernel/sched/cputime.c
@@ -2,6 +2,7 @@
 /*
  * Simple CPU accounting cgroup controller
  */
+#include <linux/sched/clock.h>
 #include <linux/sched/cputime.h>
 #include <linux/tsacct_kern.h>
 #include "sched.h"
Ok I'll include that.

Thanks.

-- 
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