Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp1709302rwl; Wed, 12 Apr 2023 17:46:13 -0700 (PDT) X-Google-Smtp-Source: AKy350aKv3p6tqDsrTtbVJJBHbhsGEHIzNtqCFHWT2Bk475wydMHn4FZL9e1TxB49qtnT8tAY7TC X-Received: by 2002:a17:906:d04b:b0:94a:680c:b53e with SMTP id bo11-20020a170906d04b00b0094a680cb53emr685414ejb.50.1681346772932; Wed, 12 Apr 2023 17:46:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681346772; cv=none; d=google.com; s=arc-20160816; b=xo9Ti2dk24wTQ6f0JmHWVMC4YdeY+7FKCY5IzHy97byIhJvDjbxYUdLiu+dkUjD2Xz BKGeLgCw3k5yUjvjePfyy1f0AdFIZMr9iqBxAwg3uV4Hji2ObqiGwacRUtcWM/SvA3ML FnK25Y9J7uBT1MufMUB4G0meKo4x5LInDj63/I8o+c7frkGpTINvvWt+LxJSA2bTX2kc PBwfaSkdqmT6ssai8ROYgd5m20mbvZIaMW0CrsXyEioTFzMAF1mLxTHw7uCCMvzeLLA2 jOdEjb6zbrlGR5pLgj2NgL5wGNoRd7YnPZlMy0PrcNiBcbscJwr2AhLmXmnZb7P03lWK UuMg== 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-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:sender:dkim-signature; bh=qeVTMtCux2BOeObz5+AKrGQQdxp1bdVbjpePeClNJpo=; b=ut0vefbfEr8OJ+cr1ipCpPz5dJylUv/GKsGxU+WdevuViHnGOIH3N1/i2KsNH6HE2x 60wJCMNZCG2kzDObmzRgCxY5ScSh90tuFBobuZGQUukk/sUYJ5ie3xUAKD6Rc8RcUdkG yZXW64nxmtKXx5P491w1YyuDEluUiO/hsrbuvq9dlUF8UV8ZaQxLfuKjxebGQOcdpoaT invdBMtzMet6G358eD8V6VYgzp1fFBfDUA/TfXsvTCKdYRy20pkJhjKaMiDbqDO1WbUU 7ClE1c7xk4uRKoRoX2K373ooNJpRKRSNiEJD66dfNi2s/fX4nU/rbIlgeEpzqa2zh5da Sy2g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=k3ksXRI5; 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 fl14-20020a1709072a8e00b0094a512b0974si338527ejc.302.2023.04.12.17.45.47; Wed, 12 Apr 2023 17:46:12 -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=k3ksXRI5; 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 S229618AbjDMAdT (ORCPT + 99 others); Wed, 12 Apr 2023 20:33:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41800 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229506AbjDMAdS (ORCPT ); Wed, 12 Apr 2023 20:33: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 7E2B2449D; Wed, 12 Apr 2023 17:33:17 -0700 (PDT) Received: by mail-pl1-x62b.google.com with SMTP id la3so13111306plb.11; Wed, 12 Apr 2023 17:33:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1681345997; x=1683937997; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date:sender :from:to:cc:subject:date:message-id:reply-to; bh=qeVTMtCux2BOeObz5+AKrGQQdxp1bdVbjpePeClNJpo=; b=k3ksXRI5boYH1PJ4aL51Taqw6hvtAg0KYVtZ5LSutd4bs+Ama7qpxAoSze4A7L0gpl omUHyPRglIG6cycY06ZvINus+/9GsBNP02RktCm3rfaO9kZcr+52IgMeegbeUlkP6Ol4 GnazoLBbvVbzAzWqgpBN14eYhnsrg7iPxKjt972IuYhn1qhpJuaINoJQTyp5UolqC3Qb 60fnP8jse8Wk56KwrYncNxP9bcPeNiolIjfeD2lH5R8FbbY8XfaJxoGRREv/tqGaTITD B5HenCw6mN5oXFjVd5BO0bvN9qPsuUcLTfEZmg9nlwkiEdsQg7Qa5l55m36Z+aDmNu5C 705g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1681345997; x=1683937997; h=in-reply-to:content-transfer-encoding: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=qeVTMtCux2BOeObz5+AKrGQQdxp1bdVbjpePeClNJpo=; b=VIGrCyQgUfhEppIBc2v5NKTa24XQXVuZ/bnxZeeT1mPAK0XeyoxBFBuMPKY3AViJQf 1Wh3syazzbAGNpiQZS7/e0tl7ujsb1sGeK7Y0HD1pGwXbnpLQRvZABgRcsh0Ut742KD2 xweaV9/0w20kO/d1lG6/cK2VFdTAAmAaD4g9Qlsy50vGbikBsuRXFK4H2DQIul2LFVcn Gyaxyk7AxaPnDhMLB5RwWog8ImyCLdSza6FTpi05DfLE7rOXC5uY2wiToTvN2hJRotJk dkcYj+5wbFOCPqZ9XAbDjkFYpI0AO/nSpM+VOouMfdmxc0Uagnsd60Dnb96y/Hd9lszw rlzA== X-Gm-Message-State: AAQBX9fZNJmAHB+MOACqJ7XGLTLIni5vJPslKXAzrevp7HGlL00/vfRy 6iENbpEx7FvmNIBkkW+pT68= X-Received: by 2002:a05:6a20:dc9f:b0:c6:c0c1:b1fe with SMTP id ky31-20020a056a20dc9f00b000c6c0c1b1femr136728pzb.57.1681345996825; Wed, 12 Apr 2023 17:33:16 -0700 (PDT) Received: from localhost (2603-800c-1a02-1bae-a7fa-157f-969a-4cde.res6.spectrum.com. [2603:800c:1a02:1bae:a7fa:157f:969a:4cde]) by smtp.gmail.com with ESMTPSA id u36-20020a634724000000b0050bd9c8c53dsm178076pga.23.2023.04.12.17.33.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 12 Apr 2023 17:33:16 -0700 (PDT) Sender: Tejun Heo Date: Wed, 12 Apr 2023 14:33:15 -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 Subject: Re: [RFC PATCH 0/5] cgroup/cpuset: A new "isolcpus" paritition Message-ID: References: <20230412153758.3088111-1-longman@redhat.com> <1ce6a073-e573-0c32-c3d8-f67f3d389a28@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit 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 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 Wed, Apr 12, 2023 at 08:26:03PM -0400, Waiman Long wrote: > ? If the "cpuset.cpus.isolated" isn't set, the existing rules applies. If it > is set, the new rule will be used. > > Does that look reasonable to you? Sounds a bit contrived. Does it need to be something defined in the root cgroup? The only thing that's needed is that a cgroup needs to claim CPUs exclusively without using them, right? Let's say we add a new interface file, say, cpuset.cpus.reserve which is always exclusive and can be consumed by children whichever way they want, wouldn't that be sufficient? Then, there would be nothing to describe in the root cgroup. Thanks. -- tejun