[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ZrE8JW4Z34am2YU5@slm.duckdns.org>
Date: Mon, 5 Aug 2024 10:55:01 -1000
From: Tejun Heo <tj@...nel.org>
To: Waiman Long <longman@...hat.com>
Cc: Zefan Li <lizefan.x@...edance.com>,
Johannes Weiner <hannes@...xchg.org>,
Michal Koutný <mkoutny@...e.com>,
Shuah Khan <shuah@...nel.org>, linux-kernel@...r.kernel.org,
cgroups@...r.kernel.org, linux-kselftest@...r.kernel.org,
Chen Ridong <chenridong@...wei.com>
Subject: Re: [PATCH-cgroup 3/5] cgroup/cpuset: Eliminate unncessary sched
domains rebuilds in hotplug
On Sun, Aug 04, 2024 at 09:30:17PM -0400, Waiman Long wrote:
> It was found that some hotplug operations may cause multiple
> rebuild_sched_domains_locked() calls. Some of those intermediate calls
> may use cpuset states not in the final correct form leading to incorrect
> sched domain setting.
>
> Fix this problem by using the existing force_rebuild flag to inhibit
> immediate rebuild_sched_domains_locked() calls if set and only doing
> one final call at the end. Also renaming the force_rebuild flag to
> force_sd_rebuild to make its meaning for clear.
>
> Signed-off-by: Waiman Long <longman@...hat.com>
Applied to cgroup/for-6.11-fixes.
Thanks.
--
tejun
Powered by blists - more mailing lists