From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mta1.migadu.com (out-9.mta1.migadu.com [95.215.58.9]) (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 01B4A171B1 for ; Mon, 24 Aug 2026 02:01:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=95.215.58.9 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1787536921; cv=none; b=iqJ3nNyO5jkU8qqLBOvFm13d6FlbX11HbEeSFS3xJQasASSgFFMjCKIyzXaz7q2lKmdSAjUd4DdBQ5rQL9kVeF9H4kEtaH4Lt2GJEK/TNGs+qlE9MRDKQFm6vmM+OaMsB1wGnWmBWrJd1hzUdaXeowruwHFRQtxgSTeoqTEFNvQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1787536921; c=relaxed/simple; bh=xHrIUmHkTESiRVHALuYcyRT7XTgZFarmWufBgGwSz6A=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=N5Om0tvFFmSfHOG+VJU2k79Eh1QYt0qZBm+rJGjlw/MudRA+QLliZaNA738GX71gAIw7L8WEFmVxNSE1y2xcioAab5fvD7HfD42pFr0cT+3T5ek1BJA/ARrR1jT0OE+O3KEV2+UaR/bvLk+SHgCtYlo1VRW5v4YTKftKs0qvCPo= 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=sFxIOS4I; arc=none smtp.client-ip=95.215.58.9 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="sFxIOS4I" X-Envelope-To: linux-kselftest@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=1787536915; v=1; x=1788141715; b=sFxIOS4ILNEaBQWRRsT4VOq3vJ7BJ7EoaGkPQfZkbLJTSRH/zLKiwlZ1Gsn5oDDOQQ1Gbc/7 ngHQgnZuyAZnfmUhLZqqISw1MJvvc5H/0q3te7vwMFACMuDS1Ah9U2TvYvvXGAYkmwmSWwa+Bws f0a/PoOgyXIPYugltro6lLlU= X-Envelope-To: linux-kselftest@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-kselftest@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