]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
cgroup/cpuset: Add warnings to catch inconsistency in exclusive CPUs
authorWaiman Long <longman@redhat.com>
Mon, 7 Apr 2025 21:21:05 +0000 (17:21 -0400)
committerTejun Heo <tj@kernel.org>
Mon, 7 Apr 2025 22:05:09 +0000 (12:05 -1000)
commit86888c7bd117c29eab169c37e5f6bbbf583da983
treebe16e5244343653121def121c6c8f5cc047f9834
parent6e6f9170dc6a4660f7a90d67122a08ca919b5f53
cgroup/cpuset: Add warnings to catch inconsistency in exclusive CPUs

Add WARN_ON_ONCE() statements whenever new exclusive CPUs are being
added to a partition root to catch inconsistency in the way exclusive
CPUs are being handled in the cpuset code.

Signed-off-by: Waiman Long <longman@redhat.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
kernel/cgroup/cpuset.c