From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=158.69.130.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1795787333; b=JyQQgR8pu222b+i0ZcA6ZBckQ9lLl/aap5cXzMu4SVTAy+pdziIVQY6RwShSDNp0FONv 0a9PoErPampXAVL3r56n/V+fnNgDKE4Aokd9EsZ7G1hZsVYyXh696Cb5c6olG+NuzNq1t r0Wx710MqtbHVyqtwiN2Yt02rqCpd7GZbTdWcTH+5IM/v4xV5vtk0tXT3Bfjwk9TaFiFX sW3MKuhgjw8oTShY+LsSPBYr+Wj8+NAsCzBkABsRiPmm7+xfytu42ngff6qxfq85FOVKX OB1APjY3fmO6cm13qzPsu9ctrjowL+YEcmcZI9Nb7XHSz7zEhVDKuZ4yaTC46e873ng== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795787333; h=DMARC-Filter:DKIM-Signature:Received:From:To:Cc:Subject:Date: Message-ID:X-Mailer:In-Reply-To:References:MIME-Version: Content-Transfer-Encoding; bh=V/uEc4jL47bkiTzd7MGgfkd9ue145VA2nGSH2bL9Yog=; b=usJLVlkt8o8Q6DjyQTud0COEu9ypgaVQhhqTmNfNa5F8KHu08HiIUblfoh+n2h4+78wf auDcLAwcrVxSpLUR8bWjyJQyPKEWA2Y3ez2oVu+fxOrkFQ+D+yb7Q+fTz9OXxUlbqmCuU TE3q9sm25fBi4rFlZFGEVWiAGv/utY6fV4Js95UOUyDnAnLYKYnJ45ZQJkLEkXdQX5qU3 B9wtS3JMUXz9xfGjobbvAey7OlBg2RfRFgi/tmuyLhKFXRuIOBy3yWs0M4bmkHwzS+boI Bwa606Ke0zt5IV/XIMjjErxePOVXLO9sSN0HdPB/yLrX/wZlJMb+qjlK7s2DubHh/8A== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=efficios.com; spf=pass smtp.mailfrom=efficios.com; dkim=pass header.d=efficios.com header.i=@efficios.com header.a=rsa-sha256 header.s=smtpout1 header.b=ROFeXxvy; arc=none smtp.remote-ip=158.69.130.18 Received: from smtpout.efficios.com (smtpout.efficios.com [158.69.130.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E1000606A31C for ; Fri, 27 Nov 2026 13:48:52 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org E1000606A31C Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=efficios.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=efficios.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=efficios.com header.i=@efficios.com header.a=rsa-sha256 header.s=smtpout1 header.b=ROFeXxvy DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=efficios.com; s=smtpout1; t=1795787326; bh=V/uEc4jL47bkiTzd7MGgfkd9ue145VA2nGSH2bL9Yog=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ROFeXxvybAe3jEWLV6FqMC2LdifLlt5ZFXcKujaiDyN6feejz/R8+UlHm+butuhJ7 LvIilcf7mofGy4v+LCjN7l1W2F+1DAnp64nfeDrF2vUxi2AWIrh5Feb3H010/yqkjO Sle8oYgQYVNSc7hZ7wIcofC0ASpzIbVtDkRMgU7uoUXXMUMVZkGbLAllO6Gs9nPsV3 bfcfgLWNHTh9PDJ/zhmdj5UW5WN4Hd9a7cJ4ijwCWh/bDWmTEwAY5PyqieScHB+ByQ /HtQDHqCb4Je4g51RXzBvoClVM1v31en85ckWgCzxo9gRhkpU37xUxLVzwJ/i7fu2A PBFwfBYvMwxWw== Received: from thinkos.internal.efficios.com (mtl.efficios.com [216.120.195.104]) by smtpout.efficios.com (Postfix) with ESMTPSA id 4jbZWf3p0wzXFQ; Fri, 27 Nov 2026 08:48:46 -0500 (EST) From: Mathieu Desnoyers To: sashiko-reviews@lists.linux.dev Cc: linux-rt-devel@lists.linux.dev, tj@kernel.org, hannes@cmpxchg.org, mkoutny@suse.com, linux-kernel@vger.kernel.org Subject: Re: [PATCH v11 17/43] cgroup/cpuset: Refuse to take a deadline task out of its root domain Date: Fri, 27 Nov 2026 08:48:31 -0500 Message-ID: <20261127134846.114774-3-mathieu.desnoyers@efficios.com> X-Mailer: git-send-email 2.47.3 In-Reply-To: References: <2a3cf1f221564450a14f75f0f4eeebc3379a992e.1795646914.git.mathieu.desnoyers@efficios.com> X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Transfer-Encoding: 8bit > Should pending also be populated when root->partition_root_state is > PRS_ISOLATED (or via is_partition_valid(root))? Yes. v12 will count the CPUs of an isolated partition root as pending too. This alone would not cover your example, though. The second loop checks the cpusets of @part, the child that the write makes a partition root, and v11 passes NULL there. In v12, that loop will pass the same pending CPUs when the root is isolated. The valid children of an isolated root are isolated too, so the rebuild also gives their CPUs to the default root domain. The v11 cover listed this as a known limit. The v12 cover will drop it. > Does dl_tasks_keep_without() (and dl_tasks_keep_root_domain() below) walk > the cpuset hierarchy and iterate every task in affected cpusets even when > no deadline tasks hold bandwidth or admission control is disabled? It does walk them. In v12, dl_tasks_keep_cpus() will skip the walk of the tasks when no task holds a deadline bandwidth, or without admission control. dl_task_keeps_root_domain() accepts any mask then. The walk of the cpusets stays. Each cpuset costs a mask computation. Thanks, Mathieu