Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp36103819rwd; Mon, 10 Jul 2023 18:13:06 -0700 (PDT) X-Google-Smtp-Source: APBJJlF4GJPfg0cFnlwEe3wXhinZ5STbd9QOVrbkUfBUDdzuAiP6YQF0hGHc17pz98/25n5pEnIh X-Received: by 2002:a17:906:5307:b0:993:f996:52d5 with SMTP id h7-20020a170906530700b00993f99652d5mr8752038ejo.25.1689037985801; Mon, 10 Jul 2023 18:13:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689037985; cv=none; d=google.com; s=arc-20160816; b=eb97bCtXiXBjU3rwcKsR1d6QutZK7HP/S7cHck6BglHgmTrHv8BlA/pRjFC9ZiwnGx vai4mShkJG4MT5KHFT3gyyZkHOb5PekddU0zRK/0XU7dMbf7fBfn/eLRFJxo4CqsRVDK xyjHLs3yZL9iVNmn1krehFHgkppQuZT2jJCfuLhWguDS9DZGdCoCSJEXamcfGMY0j1VL SEgyI/CfBRYKd/P1+w0j3oHjDLhKw3dXbpPxONuX1nicfHkFXvqyoTy6rFNWDGze4ch6 mfTR4sGcvyB/6jXVC+qVwE80xs0JPV6w/U4uagX2+sGc9VjuWGQiXNRzzOG9JP3UhOQ/ bO9w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:sender:dkim-signature; bh=IxBIJVCy8BSte3A+R6dkOVqHWVmw7XdfvWAKQ51rWXE=; fh=9pD2+2ICCrYwNj41slMBNPIGySuJuSxDdTDRXBzu2p8=; b=hYSw10daVQpZVsIK+8rIWpDkVRiHTfzCes/7aT58eyzXOxq8vj58avRTtTcM4WThuU jHigazqOAq0w03bga7o29wcMGXSpKd9MyQJhQZS94dNpX1hwvY4xPkI2ADXj0CEDuGvl lE5Fz9KculsecVJMOWWW4A7CG8yPQ/rGdPSNH17nx6xuNYfWkWsjGC4p2vk6QJ2if46f 1Sb099sCrCEhLeUMQtprqFTFx4ZylUdY5mbdPvKWJZT9m0n+ud3nJX98e908sP/bwTxk dP9QHhUWiqf/75STnLONBryxEHH+hBaw4Od5HutUhOb9+5iXgkQbXH0TJpSx99OaJxIX siIg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=iUPgdvmc; 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=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id o27-20020a1709062e9b00b0098638efc275si780007eji.688.2023.07.10.18.12.42; Mon, 10 Jul 2023 18:13:05 -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=@gmail.com header.s=20221208 header.b=iUPgdvmc; 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=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230431AbjGKBHV (ORCPT + 99 others); Mon, 10 Jul 2023 21:07:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49478 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229655AbjGKBHS (ORCPT ); Mon, 10 Jul 2023 21:07:18 -0400 Received: from mail-pl1-x62b.google.com (mail-pl1-x62b.google.com [IPv6:2607:f8b0:4864:20::62b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D362DE9; Mon, 10 Jul 2023 18:07:13 -0700 (PDT) Received: by mail-pl1-x62b.google.com with SMTP id d9443c01a7336-1b8ad356f03so33054425ad.1; Mon, 10 Jul 2023 18:07:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1689037633; x=1691629633; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:sender:from:to:cc:subject:date:message-id :reply-to; bh=IxBIJVCy8BSte3A+R6dkOVqHWVmw7XdfvWAKQ51rWXE=; b=iUPgdvmc76GAhsSeiyKt1afxZwczuvHmWhxciN5pTKOMxs8Y6qHZv4aZJbyiAzs3MD RpkVN7uTX+lmBkUSEyYUbdaVf1vk0iM3HfaqNO4w/1mNhQKjaqiwLi/4PyhJwpHBJIuw T0wCBhqgpCS3FVuvNRx1TMtnTitnxGOe6tsgtvkwFNxWh4qdRlW98ezZ3UUnz2VRikUG 2Y0UIlrr3dF5gX8jbIozxxXvoqmlZj6F0X0FFA7yipiYTTgK78q7cTJmoXfWGkQ8DAZg shoKh0pYE4emU7FwZD909nkygrIJ/F72a3z6F+k3Nds1p0lLqUs25ELUCUVpRxdPUk2D sEGw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689037633; x=1691629633; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:sender:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=IxBIJVCy8BSte3A+R6dkOVqHWVmw7XdfvWAKQ51rWXE=; b=cC1A86PxIEtTL77tjnZPDVxikcMcJpOy4o0dStIOjA7IeNrKxjOKaYz0TTApwjHkqh htNpSpYL9UyZF3cATOtYfnJQBJg0qqrJMkJozVGaZGv/CeuX9BOGPa3nZbpc9t/6okI4 fQWgRw1ckjXe6a6IW0SBnjcsnh4Y2xE1VRUYG5IKB+HtyoUuXqiEAGo141h4GRuMB2uw FNeh0Lc6uQ/vOwK7LpAJJgTMsZYLrei8mn4Iesk0fs+bs3EFpHaVX0Dk+fuuplFfJB2C W7kgsXUQOyCJDcF88wrQKlV3T5PBElwXpS2cD+VcGzGWGtUcQEmgU9ZI9sosAgSJ5bZB 7z1g== X-Gm-Message-State: ABy/qLZmh4mvNVXhNnSVYAeM+IfpCRMfJA/eGeRVQG7bzKSrFur+ToSH BrU6Gsmyqj8Qn22zlCDE8MVfsiIbxcYDRA== X-Received: by 2002:a17:902:8308:b0:1b8:9044:9ede with SMTP id bd8-20020a170902830800b001b890449edemr12013743plb.62.1689037633174; Mon, 10 Jul 2023 18:07:13 -0700 (PDT) Received: from localhost ([2620:10d:c090:400::5:e2fe]) by smtp.gmail.com with ESMTPSA id iy14-20020a170903130e00b001b895a17429sm489274plb.280.2023.07.10.18.07.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 10 Jul 2023 18:07:12 -0700 (PDT) Sender: Tejun Heo Date: Mon, 10 Jul 2023 15:07:11 -1000 From: Tejun Heo To: Waiman Long Cc: Zefan Li , Johannes Weiner , Jonathan Corbet , Shuah Khan , linux-kernel@vger.kernel.org, cgroups@vger.kernel.org, linux-doc@vger.kernel.org, linux-kselftest@vger.kernel.org, Juri Lelli , Valentin Schneider , Frederic Weisbecker , Mrunal Patel , Ryan Phillips , Brent Rowsell , Peter Hunt , Phil Auld Subject: Re: [PATCH v4 8/9] cgroup/cpuset: Documentation update for partition Message-ID: References: <20230627143508.1576882-1-longman@redhat.com> <20230627143508.1576882-9-longman@redhat.com> <6d5aee58-f558-868c-76e0-0b58f8332110@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-1.5 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=no 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 Hello, On Mon, Jul 10, 2023 at 08:53:18PM -0400, Waiman Long wrote: > For local partition, it doesn't make sense to have a cpust.cpus.exclusive > that is not the same as cpuset.cpus as it artificially reduce the set of > CPUs that can be used in a partition. In the case of a remote partition, the Yeah, I was wondering about local partitions. "Automatic but can be overridden" behavior becomes confusing if it's difficult for the user to easily tell which part is automatic when. I wonder whether it'd be better to make the condition static - e.g. for a partition cgroup, cpus.exclusive always contains all bits in cpus no matter what value is written to it. Or, if we separate out cpus.exclusive and cpus.exclusive.effective, no matter what cpus.exclusive is set, a partition root's cpus.exclusive.effective always includes all bits in cpus.effective. Thanks. -- tejun