[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <ZBTnsp43Ntxl0Tns@slm.duckdns.org>
Date: Fri, 17 Mar 2023 12:20:34 -1000
From: Tejun Heo <tj@...nel.org>
To: Josh Don <joshdon@...gle.com>
Cc: Zefan Li <lizefan.x@...edance.com>,
Johannes Weiner <hannes@...xchg.org>, cgroups@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] cgroup: fix display of forceidle time at root
On Wed, Mar 15, 2023 at 02:40:29PM -0700, Josh Don wrote:
> We need to reset forceidle_sum to 0 when reading from root, since the
> bstat we accumulate into is stack allocated.
>
> To make this more robust, just replace the existing cputime reset with a
> memset of the overall bstat.
>
> Signed-off-by: Josh Don <joshdon@...gle.com>
Applied to cgroup/for-6.3-fixes w/ Fixes tag added and stable cc'd.
Thanks.
--
tejun
Powered by blists - more mailing lists