Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp738595iog; Mon, 13 Jun 2022 11:49:36 -0700 (PDT) X-Google-Smtp-Source: AGRyM1tyQ1zncCfP5+KfGFah7N0okMCRylXlUCzhsOmE5fVdnenlAWSEyoukFs2aSSymQ19lhebt X-Received: by 2002:a17:90a:448c:b0:1ea:653c:282a with SMTP id t12-20020a17090a448c00b001ea653c282amr125381pjg.15.1655146176218; Mon, 13 Jun 2022 11:49:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655146176; cv=none; d=google.com; s=arc-20160816; b=ywL5Zw4pdXduybxhEg5U1Tgp5Vt8o4vSQ5AAUrK776muzNbbfrVqI31IBM0z6ced5u MJTTsoNooKXNFYy8c+imOEcr3I6N+BkYDYO2luYWCxrcuHsbJ+bOePMa5NVxzIN5VVCo Oy//77nJb0MamvVRNdBcjXJsVC09otK19ok5McNUMWiMX//IAnUpC3rx2HJqbyWdQ27z NmUkGaI2pz+jgqMLgmEZ5DqYWgt27/6Lc1dLsv11Gtb1ge49GOSNikQlqXehyHkpJazm NEmBFeI8kVOZUfhSqJkyrT1CJZi1OhNipNoJkLS5qKsnvQruWxE+h446yKoN7NbzOoLi 6vDQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=0QxbXQTWScLBHdZkYfR8jKfBuUw2/vlOoxDD3FnCzX0=; b=vk8WUpSbk6ICZtKZWFwYkYFLMAiwJlHNoITKODqeT5HBWAgQkL8esqAEKi5JIuDBMP fCYT9WZYSzbPIHVoiaD9L5XTzgDdgR01O+ZO86mr9aDAdEMm1Pv+XO8kALOyi8KmiSvP XthAZqAvzCFui9Jv+mvmiKNK9a+FYYPdbB96ipnaolnfjVLOyTX3jeaMAV2a6zoiR8Lc VSWgRqskLnneMlFjJEka1lOvEum9nd8BVK4TyKynHEQsBSgHRiJNw83HwmTMRbkTgvtD U2H8qVAncw1VuL3BjwgU0pe+AIFjtKMIqbgUhb5n/24wQZ616JTnMB948Sg2ct3Vre/z hmKg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.com header.s=susede1 header.b=CMvjzQmO; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=suse.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id r2-20020a634402000000b003fdb58c86b4si10818393pga.675.2022.06.13.11.49.24; Mon, 13 Jun 2022 11:49:36 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.com header.s=susede1 header.b=CMvjzQmO; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=suse.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S245154AbiFMSVF (ORCPT + 99 others); Mon, 13 Jun 2022 14:21:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38896 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244959AbiFMSUt (ORCPT ); Mon, 13 Jun 2022 14:20:49 -0400 Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.220.28]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CAFC0EAD; Mon, 13 Jun 2022 07:24:55 -0700 (PDT) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id 8666221C43; Mon, 13 Jun 2022 14:24:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1655130294; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=0QxbXQTWScLBHdZkYfR8jKfBuUw2/vlOoxDD3FnCzX0=; b=CMvjzQmOEJZmJ+aCXYUtYR6cV2a6B/yT0U+mHCBSEypUkXGJFDyWBPHB0Z7IkXFKBXiRob WaN/MSCTSa5yUU5jEZUlmEXKUyG+tp45OcGy7/VDzJHcTwEDmzJg2g6ueidLXSqAt3+sjI 8jYUsq6TWTWCGAp7ockBvOyJRSK4p7w= Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 37AEF134CF; Mon, 13 Jun 2022 14:24:54 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id P9iuDLZIp2I6QwAAMHmgww (envelope-from ); Mon, 13 Jun 2022 14:24:54 +0000 Date: Mon, 13 Jun 2022 16:24:52 +0200 From: Michal =?iso-8859-1?Q?Koutn=FD?= To: Tejun Heo Cc: Waiman Long , Zefan Li , Johannes Weiner , Jonathan Corbet , Shuah Khan , cgroups@vger.kernel.org, linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, linux-kselftest@vger.kernel.org, Andrew Morton , Roman Gushchin , Phil Auld , Peter Zijlstra , Juri Lelli , Frederic Weisbecker , Marcelo Tosatti Subject: Re: [PATCH v11 7/8] cgroup/cpuset: Update description of cpuset.cpus.partition in cgroup-v2.rst Message-ID: <20220613142452.GB6910@blackbody.suse.cz> References: <20220510153413.400020-1-longman@redhat.com> <20220510153413.400020-8-longman@redhat.com> <404171dc-0da3-21f2-5003-9718f875e967@redhat.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="1UWUbFP1cBYEclgG" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --1UWUbFP1cBYEclgG Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Jun 12, 2022 at 05:12:51PM -1000, Tejun Heo wrote: > Hello, >=20 > On Sun, Jun 12, 2022 at 11:02:38PM -0400, Waiman Long wrote: > > That is the behavior enforced by setting the CPU_EXCLUSIVE bit in cgrou= p v1. > > I haven't explicitly change it to make it different in cgroup v2. The m= ajor > > reason is that I don't want change to one cpuset to affect a sibling > > partition as it may make the code more complicate to validate if a part= ition > > is valid. >=20 > If at all possible, I'd really like to avoid situations where a parent ca= n't > withdraw resources due to something that a descendant does. My understanding of the discussed paragraph is that the changes are only disallowed only among siblings on one level (due to exclusivity rule, checked in validate_change()). A change in parent won't affect (non)exclusivity of (valid) children so it's simply allowed. So the docs (and implementation by a quick look) is sensible. Michal --1UWUbFP1cBYEclgG Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- iHUEARYIAB0WIQTrXXag4J0QvXXBmkMkDQmsBEOquQUCYqdIsgAKCRAkDQmsBEOq uQsKAQCuQgJeY8pngbeck33qpmT/9IqMQLfNBYRRLLM9dlUPbgEAw+wDMnZ9MjQW KY6lhKrvUT5CEfFIjAzZay9tJBO/BAU= =JcWM -----END PGP SIGNATURE----- --1UWUbFP1cBYEclgG--