Re: [PATCH v2] cgroup/cpuset: fix panic caused by partcmd_update
From: Tejun Heo
Date: Tue Jul 30 2024 - 15:56:05 EST
On Tue, Jul 30, 2024 at 09:51:26AM +0000, Chen Ridong wrote:
...
> This issue is caused by the incorrect rebuilding of scheduling domains.
> In this scenario, test/cpuset.cpus.partition should be an invalid root
> and should not trigger the rebuilding of scheduling domains. When calling
> update_parent_effective_cpumask with partcmd_update, if newmask is not
> null, it should recheck newmask whether there are cpus is available
> for parect/cs that has tasks.
>
> Fixes: 0c7f293efc87 ("cgroup/cpuset: Add cpuset.cpus.exclusive.effective for v2")
> Signed-off-by: Chen Ridong <chenridong@xxxxxxxxxx>
Applied to cgroup/for-6.11-fixes w/ stable tag added.
Thanks.
--
tejun