Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) (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 A8A4C2DB78D for ; Mon, 12 Jan 2026 14:51:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.133.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768229500; cv=none; b=YV8VxvHhJRemzSP7qYAMR4wIRfTqtcjDk1gyvhTtVmsWdyK0dt1aGzFYRwNGwMV5ZuHgpgwWnfsNYZrMX9xvn7e0b8VEHNR4+8cu2JvnflGIt51c39MlbENUnKC2jfcDujrnrJBFYWWy9xSE6sqkfwHC57Nu1/Mof53tYfksMKM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768229500; c=relaxed/simple; bh=KfleazqhiYVtUyRFQa0Rnp9RAnsfoqSNonzAP4I3m2w=; h=From:Message-ID:Date:MIME-Version:Subject:To:Cc:References: In-Reply-To:Content-Type; b=Ta9enIaefhnoSZSf/gKL8zjEgk2v/Ct7E7TN43Rtzry9umKcjlDBnHGW6Qoa7+NLKD4hQcffi/VLhISJuGGT2s4iYOvwexETNru5Np6SHxgojpIbN0jnGv7iuT/WnKOL9T/8DAp0Qxd2kB2PdQE/EwmTKPuWBgJ582lct11zjcw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=G6QCHZjr; dkim=pass (2048-bit key) header.d=redhat.com header.i=@redhat.com header.b=H1hFfSdX; arc=none smtp.client-ip=170.10.133.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="G6QCHZjr"; dkim=pass (2048-bit key) header.d=redhat.com header.i=@redhat.com header.b="H1hFfSdX" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1768229497; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=sA5gJz/+vgMSarS6A+nPZ5R89JHYOj2EYgVc9sCvFKA=; b=G6QCHZjrZY0DbUsaa13Qfesw/kcEXKgZVpyM43XgHU3nN3T7hs3LVonB4sHJpJJOnRQBzH oHwsPg3n3VaBV0LRBp5YeiDWCcn4FM3KaB49aGtO39A4aNOGR7hIPtX1N+QxkTcGf5e6+f pK6kdIoKYaZPWxiI18O089BdFrObyBw= Received: from mail-vk1-f200.google.com (mail-vk1-f200.google.com [209.85.221.200]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-586-tEhDxBtdPv-Dk2FahKEbjQ-1; Mon, 12 Jan 2026 09:51:36 -0500 X-MC-Unique: tEhDxBtdPv-Dk2FahKEbjQ-1 X-Mimecast-MFC-AGG-ID: tEhDxBtdPv-Dk2FahKEbjQ_1768229496 Received: by mail-vk1-f200.google.com with SMTP id 71dfb90a1353d-56364ccf7e4so3361720e0c.1 for ; Mon, 12 Jan 2026 06:51:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=google; t=1768229496; x=1768834296; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:content-language:references :cc:to:subject:user-agent:mime-version:date:message-id:from:from:to :cc:subject:date:message-id:reply-to; bh=sA5gJz/+vgMSarS6A+nPZ5R89JHYOj2EYgVc9sCvFKA=; b=H1hFfSdX03LD81cp6Q7aFhUHsu77TxhwUI5hoyrzyrVKVw+wB8s3rkOaK6ruiAIwnj qrZSzjguhTTCIAVqRkDCF8OEd6lIuJ9cZTjrK9UNmxI1IwBE/wNDhNid1cz6oyajh2AS dAEEzO98unRnWCI4ynw2PHooBoFR+1NZ8OgYkolGhPMpMKAJ39OyxMgR8giluj4F0nZu yzF4EamLTF5Le8GD5Bc02fvPk1E9fostNDqawdGLk10+wk7be0NPmW4Kx7ZXC04gXzio BoMDgWMnNjU4hp0QeyuhZ1o/zUQGBRL9FumPOwU0WxJgsvDSLTtvWnfl1ZUn/rU4dalc /C9Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1768229496; x=1768834296; h=content-transfer-encoding:in-reply-to:content-language:references :cc:to:subject:user-agent:mime-version:date:message-id:from:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=sA5gJz/+vgMSarS6A+nPZ5R89JHYOj2EYgVc9sCvFKA=; b=jyxW4TpeaXoyWmwqYbTWuqbhm2y2BeTR0I6PChQzqoYqZUiTkWlYmdn2mGGEk8G7b+ HTVeZrgCQBrDjDiphnxmthGoav6Jze3H1y4ci2/sIb7josjnqUnd0gFiO6t3sh10Uvvu jeTHiUIT+f3zza171KdZtzcRvuR7hdbIdvsQZ1RccGq/DPUk3eo4Xve22cxXxc1cqgPw 0u0+HPP45uy3KlLiIE2zt/r3O55nYgEtm6It9dVF6t45589Pv/WJJ7PV7fshsNItthf8 mVCYgVuwvkcdUQ6Tu/4P1dWDg3qeffYn2QkFYYiKPSP4dEUWulU8fwYGxi9qnkAVNv81 2d0g== X-Forwarded-Encrypted: i=1; AJvYcCULOX4RBPcpw7zeluxkV9i8fb5ZCH5flguo+M1iSVHHFuSRCvuUDU+EyjkPLKWQrkszyZuK96fR@vger.kernel.org X-Gm-Message-State: AOJu0Yw/CWTDbdehyjm1Iwlh5tfepcbS+MoNjv/JMlVrlmH6cEZ41lqf JT060bx+ke8dviepiLm1EIuKZAMC6Ncy6QrNBFszGuJuxTYlJW06x2RxRB9Khh638miAy4ikIYG CBCH9NAhj7ykbYxWGjF7XQEKdvuP4v/yoS6immFIjJW4l3iQhzRtq4Uk4sWo= X-Gm-Gg: AY/fxX7XtguLv+sxbWsPOihAFx7EH0JgPGCsn8BoFGov/6df3GUhHO9KGSd+YpgHByQ 2Yn/iNFEcNz2rZNpuEL+VrChwCud8z9wTN9SYKLIVcG/MatY78Rhj3yj1UTQKsFo8kxAPSWZIGo EdkNgLk/3gNzS4azp/71pq+pg0JI2duLpFnazTRNI6EN+bpNG8BV3T5fUVXTETBJSlezvGdWLBv sHNo1CDfNPpaDOVdpY0EQ6PugUQkbK0OGUe/pIJgWAOpPu3bjzoMsz/+UYfjqrKpqsb4fdaWy0X 7zx434WPBEXpQOUYMa5Bw7gE87hGXOnO86ITiRNtB573dUw2M3JDtBj0yxbd0A55HL8HtqjUYCR gJ4Vs/3IhH/9e1TxfhTRy08i2wdYeX7AMzxXdeOiWABqhm4LfBFHTjEDi X-Received: by 2002:a05:6122:8b8d:b0:55b:7494:1737 with SMTP id 71dfb90a1353d-56347fd2b6bmr4913658e0c.15.1768229496012; Mon, 12 Jan 2026 06:51:36 -0800 (PST) X-Google-Smtp-Source: AGHT+IGMkEp2BHK2L7pl73R9OM4XWJTWqWIN5qUtiLpa/I4atEkU0kDVexMtW/lTi8Ub6jSdOpy+uw== X-Received: by 2002:a05:6122:8b8d:b0:55b:7494:1737 with SMTP id 71dfb90a1353d-56347fd2b6bmr4913647e0c.15.1768229495568; Mon, 12 Jan 2026 06:51:35 -0800 (PST) Received: from ?IPV6:2601:188:c102:b180:1f8b:71d0:77b1:1f6e? ([2601:188:c102:b180:1f8b:71d0:77b1:1f6e]) by smtp.gmail.com with ESMTPSA id a1e0cc1a2514c-944124c452asm16438567241.13.2026.01.12.06.51.30 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 12 Jan 2026 06:51:35 -0800 (PST) From: Waiman Long X-Google-Original-From: Waiman Long Message-ID: Date: Mon, 12 Jan 2026 09:51:28 -0500 Precedence: bulk X-Mailing-List: cgroups@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH cgroup/for-6.20 v4 4/5] cgroup/cpuset: Don't invalidate sibling partitions on cpuset.cpus conflict To: =?UTF-8?Q?Michal_Koutn=C3=BD?= Cc: Tejun Heo , Johannes Weiner , Jonathan Corbet , Shuah Khan , linux-kernel@vger.kernel.org, cgroups@vger.kernel.org, linux-kselftest@vger.kernel.org, linux-doc@vger.kernel.org, Sun Shaojie , Chen Ridong , Chen Ridong References: <20260112040856.460904-1-longman@redhat.com> <20260112040856.460904-5-longman@redhat.com> <2naek52bbrod4wf5dbyq2s3odqswy2urrwzsqxv3ozrtugioaw@sjw5m6gizl33> Content-Language: en-US In-Reply-To: <2naek52bbrod4wf5dbyq2s3odqswy2urrwzsqxv3ozrtugioaw@sjw5m6gizl33> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit On 1/12/26 5:51 AM, Michal Koutný wrote: > On Sun, Jan 11, 2026 at 11:08:55PM -0500, Waiman Long wrote: >> diff --git a/Documentation/admin-guide/cgroup-v2.rst b/Documentation/admin-guide/cgroup-v2.rst > ... >> @@ -2632,6 +2641,9 @@ Cpuset Interface Files >> >> The root cgroup is always a partition root and its state cannot >> be changed. All other non-root cgroups start out as "member". >> + Even though the "cpuset.cpus.exclusive*" control files are not >> + present in the root cgroup, they are implicitly the same as >> + "cpuset.cpus". > cpuset.cpus.effective (that one is on root cpuset cg) > > (This was likely lost among my v2 comments.) Sorry, I might have missed this comment of yours. The "cpuset.cpus.exclusive" file lists all the CPUs that can be granted to its children as exclusive CPUs. The cgroup root is an implicit partition root where all its CPUs can be granted to its children whether they are online or offline. "cpuset.cpus.effective" OTOH ignores the offline CPUs as well as exclusive CPUs that have been passed down to existing descendant partition roots so it may differ from the implicit "cpuset.cpus.exclusive". Cheers, Longman