[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <aPZrIV1Hhj9pIFqg@slm.duckdns.org>
Date: Mon, 20 Oct 2025 07:02:25 -1000
From: Tejun Heo <tj@...nel.org>
To: Waiman Long <longman@...hat.com>
Cc: Johannes Weiner <hannes@...xchg.org>,
Michal Koutný <mkoutny@...e.com>,
cgroups@...r.kernel.org, linux-kernel@...r.kernel.org,
Chen Ridong <chenridong@...wei.com>
Subject: Re: [PATCH 1/2] cgroup/cpuset: Don't track # of local child
partitions
On Sun, Oct 19, 2025 at 10:32:06PM -0400, Waiman Long wrote:
> The cpuset structure has a nr_subparts field which tracks the number
> of child local partitions underneath a particular cpuset. Right now,
> nr_subparts is only used in partition_is_populated() to avoid iteration
> of child cpusets if the condition is right. So by always performing the
> child iteration, we can avoid tracking the number of child partitions
> and simplify the code a bit.
>
> Signed-off-by: Waiman Long <longman@...hat.com>
Applied to cgroup/for-6.19.
Thanks.
--
tejun
Powered by blists - more mailing lists