From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mta0.migadu.com (out-71.mta0.migadu.com [91.218.175.71]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id AA5E02773D8 for ; Mon, 24 Aug 2026 02:02:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=91.218.175.71 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1787536929; cv=none; b=XYnkkv3cTk5ezyN5JoiSM6Tu3gDnmGa59U9ZiPtt4pqyeDTycLpuYMIqHwZ4DGzVx0qnd2wmy+MnMyJrMXKuZxc1Yl+/TUps6TXZlmaymfBh47aNUiWJ/y3Vej4ObEo64q6UoGIBJCt7gY7j9QtqPht4dHUQJM1Bng0fZ0wY3cI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1787536929; c=relaxed/simple; bh=xHrIUmHkTESiRVHALuYcyRT7XTgZFarmWufBgGwSz6A=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=KWNYabMoEiqt0gRcq08iikW2BkLy+LeDDx8JIVtGDn3MFN+3QDbPP/ttwoPI8HEw6vxNj4lyQJsCLy4sKftPnoDWRKm/ghoJO7PssshFWYlfgSbDFVFAj21AMArAYuS0JcSCs8sUq8EIEzlfaDoRqfsCgpDFSGLJ3TPWrZMNWyY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev; spf=pass smtp.mailfrom=linux.dev; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b=Fggj5IBr; arc=none smtp.client-ip=91.218.175.71 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.dev Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="Fggj5IBr" X-Envelope-To: linux-kernel@vger.kernel.org DKIM-Signature: a=rsa-sha256; bh=xHrIUmHkTESiRVHALuYcyRT7XTgZFarmWufBgGwSz6A=; c=simple/simple; d=linux.dev; h=from:to:subject:date:message-id:mime-version:content-type; s=key1; t=1787536925; v=1; x=1788141725; b=Fggj5IBr4g0rN+lOPVvsXAMZJdpAwD6U5yedYoU5TKi21zCCyOs2EevXlPenEl74rxtAyied 24qjW+XXOi+h34NsmGB6P2mAStpZWJJ3Xss3t6DQ2eUxW2084aPW4nN0NT++uJmzMQHVmY2oz6R AE1S0kVr5i3Xq3uvGDUq9fUw= X-Envelope-To: linux-kernel@vger.kernel.org Received: from zgp.. (223.70.159.239) by smtp.migadu.com with ESMTPS id 48be7f349129c02e; Mon, 24 Aug 2026 02:01:55 +0000 X-Mizu-Trace-ID: 48be7f349129c02e X-Migadu-Flow: FLOW_OUT From: Guopeng Zhang To: Waiman Long , Tejun Heo , Ridong Chen Cc: Johannes Weiner , Michal Koutny , Shuah Khan , cgroups@vger.kernel.org, linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, Guopeng Zhang Subject: [PATCH v2 0/3] cgroup/cpuset: Preserve boot-isolated CPUs on partition release Date: Mon, 24 Aug 2026 10:01:37 +0800 Message-ID: <20260824020140.21130-1-guopeng.zhang@linux.dev> X-Mailer: git-send-email 2.43.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: Guopeng Zhang This series fixes the loss of boot-isolated CPUs when an isolated cpuset partition is released. It also removes a selftest comparison against a boot-only sysfs mask which cannot track dynamic cpuset isolation. --- Changes since v1: - split the boot-isolation fixes from the original 17-patch series; - explain why the boot-only sysfs mask cannot validate dynamic cpuset isolation; - add reproducers and observed/expected results to patches 1 and 2; - no code changes. Link: https://lore.kernel.org/all/20260820124202.517160-1-guopeng.zhang@linux.dev/ Guopeng Zhang (3): selftests/cgroup: Drop invalid boot isolation comparison cgroup/cpuset: Preserve boot-isolated CPUs on partition release selftests/cgroup: Add test for preserving boot-isolated CPUs kernel/cgroup/cpuset.c | 39 ++++++++--- .../selftests/cgroup/test_cpuset_prs.sh | 64 +++++++++++++++++-- 2 files changed, 87 insertions(+), 16 deletions(-) base-commit: 6a746cd265aed59107ebdaa9ce039bb832922969 -- 2.43.0