From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.ozlabs.org (lists.ozlabs.org [112.213.38.117]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 261B3D29C2E for ; Mon, 19 Jan 2026 14:53:44 +0000 (UTC) Received: from boromir.ozlabs.org (localhost [127.0.0.1]) by lists.ozlabs.org (Postfix) with ESMTP id 4dvtkZ6Bk2z3bll; Tue, 20 Jan 2026 01:53:42 +1100 (AEDT) Authentication-Results: lists.ozlabs.org; arc=none smtp.remote-ip="2001:8b0:10b:1:d65d:64ff:fe57:4e05" ARC-Seal: i=1; a=rsa-sha256; d=lists.ozlabs.org; s=201707; t=1768834422; cv=none; b=C2WU5FWBz9nZaDVn9RhIWepQP5Z3ZmApbqpD0C0YpE04wEmNyBaeAkGywSrwj4SCkH72KKoducUcQ0HBU9ZQY6lmj2bD5gcxqfA1FYy5AOapmRZhEbVV4Q1lG9mP9QTy1PkopDDs6121sZ1bN9+I3zNBo0gg6Ni5NQpG0fWDlN6Ao1/QIn8qBIfZgjeVtQySk4GZpWVfm9CE7lzGkv7A9J7KvFVlObUN2CveiKKK8kOx/o6VVq1TL4RBn0tcvgf5dGahV2Z/RH6KHSHaeMvlTvZkYfDocjmqg2q6nbdWEiNf2aBLzpY7ECreIte5rQAabJ3eKWqg939sDlkhkU2sjw== ARC-Message-Signature: i=1; a=rsa-sha256; d=lists.ozlabs.org; s=201707; t=1768834422; c=relaxed/relaxed; bh=jrDAxjhFf3FPLMbr/IOqWmWDDR5q/doAeWiuVFjaQvY=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=TtdkpTn6qFvDM6b/KHBlwp58yxaJh6+Xnj/qof9iZwTWsITA6Pn7sBKpEldepvP/qxoW6vJYadqp1BwG6ty+ufXCJjP4EIcsbi7xH0akOyIS1hekihWr6LTugT1HvCkk20+Cb/9guawS79rTmhSPy1G33AKiNEiKwsjGsE3t0OkiyJsB6ufnFZXrJzfJIYg9zBlhy1mg+keRa6UfBgG5zGFtvHp31oUmy1I/gbtEkYgz4f9jzo78UNTiV6jZR//JnYKe+dtgakFar7u/nV9aYCHG/k/iQXH1nxr0u0N71G74Tw0VSQXnJPg9EVHEBLLELEV8vd7ReZS+/A9MgEgO1A== ARC-Authentication-Results: i=1; lists.ozlabs.org; dmarc=pass (p=none dis=none) header.from=infradead.org; dkim=pass (2048-bit key; secure) header.d=infradead.org header.i=@infradead.org header.a=rsa-sha256 header.s=desiato.20200630 header.b=ov9hOHxz; dkim-atps=neutral; spf=none (client-ip=2001:8b0:10b:1:d65d:64ff:fe57:4e05; helo=desiato.infradead.org; envelope-from=peterz@infradead.org; receiver=lists.ozlabs.org) smtp.mailfrom=infradead.org Authentication-Results: lists.ozlabs.org; dmarc=pass (p=none dis=none) header.from=infradead.org Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; secure) header.d=infradead.org header.i=@infradead.org header.a=rsa-sha256 header.s=desiato.20200630 header.b=ov9hOHxz; dkim-atps=neutral Authentication-Results: lists.ozlabs.org; spf=none (no SPF record) smtp.mailfrom=infradead.org (client-ip=2001:8b0:10b:1:d65d:64ff:fe57:4e05; helo=desiato.infradead.org; envelope-from=peterz@infradead.org; receiver=lists.ozlabs.org) Received: from desiato.infradead.org (desiato.infradead.org [IPv6:2001:8b0:10b:1:d65d:64ff:fe57:4e05]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4dvtkZ0blRz3bTf for ; Tue, 20 Jan 2026 01:53:42 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=jrDAxjhFf3FPLMbr/IOqWmWDDR5q/doAeWiuVFjaQvY=; b=ov9hOHxzzbUcf3Ie3aSb0QShDF +YggQwKOQw7guQyXSafiQuLquH2AQbsBQ3vkAOn72zXdtbwnjH7i/NB1rWne47GWzjcFfdit1ZyvC 0EMVON8aMu6/psOQ5YiuIsyOgTH88WTbE+Tf7kmQzZbEp1VcvVBUV/KFQIab9FCWncqn5bUdc1lrs uoQND/4S7c4z4KnKbJYBuR+fY0Qipf+lsWIqYo9Hd+Go3BfKLBUf9Xiwmqg6IDtji8FRXBjy1tbBp NTyLzfmVtOnLvPkLTKHfEjWnAtsk/sZ2cqJltxnpRBd6WEidzOCDKMmjzFI2oe57Wwa068Bx9GzuR YPQz3Z2g==; Received: from 77-249-17-252.cable.dynamic.v4.ziggo.nl ([77.249.17.252] helo=noisy.programming.kicks-ass.net) by desiato.infradead.org with esmtpsa (Exim 4.98.2 #2 (Red Hat Linux)) id 1vhqdH-0000000CLEC-0iMk; Mon, 19 Jan 2026 14:53:31 +0000 Received: by noisy.programming.kicks-ass.net (Postfix, from userid 1000) id 959123006CD; Mon, 19 Jan 2026 15:53:30 +0100 (CET) Date: Mon, 19 Jan 2026 15:53:30 +0100 From: Peter Zijlstra To: Frederic Weisbecker Cc: LKML , "Rafael J . Wysocki" , Boqun Feng , Thomas Gleixner , Steven Rostedt , "Christophe Leroy (CS GROUP)" , Kieran Bingham , Ben Segall , Michael Ellerman , Ingo Molnar , Vincent Guittot , Juri Lelli , Neeraj Upadhyay , Xin Zhao , Madhavan Srinivasan , Mel Gorman , Valentin Schneider , Christian Borntraeger , Jan Kiszka , linuxppc-dev@lists.ozlabs.org, "Paul E . McKenney" , Viresh Kumar , Anna-Maria Behnsen , Uladzislau Rezki , Dietmar Eggemann , Heiko Carstens , linux-pm@vger.kernel.org, Alexander Gordeev , Sven Schnelle , Vasily Gorbik , Joel Fernandes , Nicholas Piggin , linux-s390@vger.kernel.org Subject: Re: [PATCH 00/15] tick/sched: Refactor idle cputime accounting Message-ID: <20260119145330.GI830229@noisy.programming.kicks-ass.net> References: <20260116145208.87445-1-frederic@kernel.org> X-Mailing-List: linuxppc-dev@lists.ozlabs.org List-Id: List-Help: List-Owner: List-Post: List-Archive: , List-Subscribe: , , List-Unsubscribe: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20260116145208.87445-1-frederic@kernel.org> On Fri, Jan 16, 2026 at 03:51:53PM +0100, Frederic Weisbecker wrote: > 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. 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 #include #include #include "sched.h"