From nobody Fri Oct 3 15:35:59 2025 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B5330322DAB; Fri, 29 Aug 2025 15:48:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1756482526; cv=none; b=QgC+kip4zBzw598q8JeffhUx14jEp5Cceue9O5Px/8+hejs76KWkAHZRwxUaVbf6TRpGpfesSqcilX//R7bvOMqpIOFdguZjEmA1H8sT0WCMko8eI8YIQIz+EASivisjJWZUORuq2IlsHaeHaenemRixtBNghZZK6tD7uFgnSqk= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1756482526; c=relaxed/simple; bh=U7eyQBqVG5JlKE7cyq1KJwK1IWz3fkCZph3lla7l9vg=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=L1pL7Qt9MhZt4FdLZ4B5pE1os7i/7qOBove6TUFHLH64oiUotjKlq4peQoXK9wR3k9952fDkCaFGtpE3aLuLH71u8/0pIo2R1GWxqqlVSP6tD6lZSgv4SP7X87VDRaEtog0xfs7cRO82jUmoBtVK8C+j/36WJNLfhI2icZS+KZ0= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=hp0OYd+2; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="hp0OYd+2" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1E329C4CEF5; Fri, 29 Aug 2025 15:48:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1756482526; bh=U7eyQBqVG5JlKE7cyq1KJwK1IWz3fkCZph3lla7l9vg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=hp0OYd+2n5wRqQ6ZKiUimFOUYgcVS8QRf9udh1+NKUfkIjnZskUmuCzBKJ0DaVeNH 9Y7ltHZWPFHAuztmnULe0zLBsabJh5T4s/irezDhU3OUtke1q//NqJ6egIaelEg99w /P5OGicva6Gy+D2NTRU1G4N7AS3QhzkLiN2cxez+7VfrYo6poRd5MRVWbivp1N57or DTMAMHWpSuJ9EW/otuIQa3dGuVJEbRw5MQrGsQNiBz82SH61iriKFVtChdlD+GKehK 8P+h8iNnQmT+KcM5kkAo5Oo82OdVJuATqfXVVmCZ/pKoHjlQlil8BlD3luhMzxkRLW Evp3Xrf8z1ztg== From: Frederic Weisbecker To: LKML Cc: Frederic Weisbecker , "David S . Miller" , Eric Dumazet , Jakub Kicinski , Marco Crivellari , Michal Hocko , Paolo Abeni , Peter Zijlstra , Simon Horman , Tejun Heo , Thomas Gleixner , Vlastimil Babka , Waiman Long , netdev@vger.kernel.org Subject: [PATCH 09/33] net: Keep ignoring isolated cpuset change Date: Fri, 29 Aug 2025 17:47:50 +0200 Message-ID: <20250829154814.47015-10-frederic@kernel.org> X-Mailer: git-send-email 2.51.0 In-Reply-To: <20250829154814.47015-1-frederic@kernel.org> References: <20250829154814.47015-1-frederic@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" RPS cpumask can be overriden through sysfs/syctl. The boot defined isolated CPUs are then excluded from that cpumask. However HK_TYPE_DOMAIN will soon integrate cpuset isolated CPUs updates and the RPS infrastructure needs more thoughts to be able to propagate such changes and synchronize against them. Keep handling only what was passed through "isolcpus=3D" for now. Signed-off-by: Frederic Weisbecker --- net/core/net-sysfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/core/net-sysfs.c b/net/core/net-sysfs.c index c28cd6665444..9b0081e444d6 100644 --- a/net/core/net-sysfs.c +++ b/net/core/net-sysfs.c @@ -1022,7 +1022,7 @@ static int netdev_rx_queue_set_rps_mask(struct netdev= _rx_queue *queue, int rps_cpumask_housekeeping(struct cpumask *mask) { if (!cpumask_empty(mask)) { - cpumask_and(mask, mask, housekeeping_cpumask(HK_TYPE_DOMAIN)); + cpumask_and(mask, mask, housekeeping_cpumask(HK_TYPE_DOMAIN_BOOT)); cpumask_and(mask, mask, housekeeping_cpumask(HK_TYPE_WQ)); if (cpumask_empty(mask)) return -EINVAL; --=20 2.51.0