Received: by 2002:a5d:925a:0:0:0:0:0 with SMTP id e26csp1289966iol; Sun, 12 Jun 2022 11:25:49 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwMwY8iA2KSz2kxIc/Ocg9ow3Qco2POFvr6d/E9sQnuCYA1N16C9UpadU/dXm1JaJUL5NNm X-Received: by 2002:a17:907:8d0a:b0:70e:aa82:8745 with SMTP id tc10-20020a1709078d0a00b0070eaa828745mr44231661ejc.550.1655058348676; Sun, 12 Jun 2022 11:25:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655058348; cv=none; d=google.com; s=arc-20160816; b=cFHOEWegqEDQI5Tuf7L4esqzIUVOMek/l6Qt7ACBPsKLptBz4TcrMSAGrggkF7qmFr J+ETkK5t4lbTuYrM3B2dY3hPLbM1AxKQcWe/WKFgW0K76nBm+zKZyMqjZry6aOQ1/zIk 6ritg+WRSe4mDiHVKkbtwan9d2odvHFmPKSVGfLDrRpoo3tZ8k9GY21IEcq6CvpIGQFs 5Xs7EUewn1+oZ+mllv1EoCWi6o8MfPMxz6JQHxVW8X4MXglohClnHA1E01DBLVMvC6Gs cokWDuBCM4wm3uDx17m8+7Ktwn7EbtKLhH/PX0V544ww5O0/NZgiaT6JKF57grHR8ajn aH+w== 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=X6BJIvmW0nAM/rdDTrxImV1gJDMQBIx+HHhMyoZbXj0=; b=txHHOTulsKIfMPafI0KlfIWU9LKkguOz1pg3yPgE3DF0VJd9dmzxdxYebVPocJMFHb 6Zy1t2GzzTRG1VKJbS3N4V/iLGiRP7e2N8ceW4RbbIkB0Nh4jtO0ezzA44jk1/Vc7/6g 7qQ0/smVHMoRZsXiZFkhGeFk0IGOl1t+5tKEljxIFi/5Qqt+1qkjYFNzto5WwLGOImu4 ERfD0uVZiOjbxNARs6UrodsmfU8pN8NRfb8lPy92ZH4wVrQpl4Gef3YimVPcfjPv7+uN JJO0med7icT7bmwXHI3Dtfz1I5Y2GRYGbGtlHevYoS61zzDY7717fFguJfB/TJ24OIci 4CaA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=VePaCp4W; 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 gb20-20020a170907961400b006fef8601459si5606217ejc.823.2022.06.12.11.25.13; Sun, 12 Jun 2022 11:25:48 -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=20210112 header.b=VePaCp4W; 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 S231909AbiFLRlX (ORCPT + 99 others); Sun, 12 Jun 2022 13:41:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53064 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231233AbiFLRlQ (ORCPT ); Sun, 12 Jun 2022 13:41:16 -0400 Received: from mail-pj1-x1030.google.com (mail-pj1-x1030.google.com [IPv6:2607:f8b0:4864:20::1030]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DC46C5DA6C; Sun, 12 Jun 2022 10:41:15 -0700 (PDT) Received: by mail-pj1-x1030.google.com with SMTP id a10so3698656pju.3; Sun, 12 Jun 2022 10:41:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=X6BJIvmW0nAM/rdDTrxImV1gJDMQBIx+HHhMyoZbXj0=; b=VePaCp4WTk52eQPlsdGdj1sEDkrzFDEkktTLgnzTAUURmN5dzumLqNzKwcRyno9pe5 R6uBdesg/HyOjALj1N4q5Swbx8MCK6m4oNXcrgj5Roy9AJ0JLzYbxXz2FImMdHTI6LMj YEaSj4RW/x41CQcePmC7BDegynpKSQdHW4hIiSgJlRQ1A6uhMTh/989NOlO24IW9Q4T3 uGDDPJdrVezaC8CcdStqLRbb9sjYIJtvpFpLdqCBj3XGkfloa212yArOs52hvS/4ULw2 wCjeFFj5FlGFBu4IlEOBnXS2gTjd4BrYn3CVNY8i9vTl3yIhcVBSyqJ6Whas/i608wIv WnAQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition:in-reply-to; bh=X6BJIvmW0nAM/rdDTrxImV1gJDMQBIx+HHhMyoZbXj0=; b=oZgLIRWUTE7vL7ceCAUJurNuPuPlKENDzgpVfazdGsKJvTOG3vW2Jf9M20V5wa7YL+ UlcnCQdooIReSyEMW7Mn6FCO2sETj5G/oTkhG3AODX9zYzU+F//434cAcXA5177XlbNK ASt5Al0oZdRqQXqJj0e0aCwEuL3/crPLYZt+ZC7g8tbJ7/h8gVrU6DQFELKdAQnE6IbV A/yqYSmcOQHg1DrBomF2kOo0B46ON63DVusRzZaz/Ih+6noCze+F9J+9dAxMVVXaiab7 ooNFxABI0PcSNB+qcrLfykLmf9isjdWIiT8EEhO/HG3AlfWK3iRu1vvxk4ogQyMq7RYP re7Q== X-Gm-Message-State: AOAM532rC2L23oFkyjrzsoO5p2M/lOR9hwE6Cs+fxlRxIjf5GBJPFgM9 sQGP39TPhAbCd7Y/dg/+iyY= X-Received: by 2002:a17:902:ea08:b0:163:ec68:ae08 with SMTP id s8-20020a170902ea0800b00163ec68ae08mr24218342plg.52.1655055675292; Sun, 12 Jun 2022 10:41:15 -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 iz4-20020a170902ef8400b00162037fbb68sm3312522plb.215.2022.06.12.10.41.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 12 Jun 2022 10:41:14 -0700 (PDT) Sender: Tejun Heo Date: Sun, 12 Jun 2022 07:41:13 -1000 From: Tejun Heo To: Waiman Long Cc: 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 , Michal =?iso-8859-1?Q?Koutn=FD?= Subject: Re: [PATCH v11 3/8] cgroup/cpuset: Allow no-task partition to have empty cpuset.cpus.effective Message-ID: References: <20220510153413.400020-1-longman@redhat.com> <20220510153413.400020-4-longman@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 On Sun, Jun 12, 2022 at 07:40:25AM -1000, Tejun Heo wrote: > Hello, > > Sorry about the long delay. > > On Tue, May 10, 2022 at 11:34:08AM -0400, Waiman Long wrote: > > Once a partition with empty "cpuset.cpus.effective" is formed, no > > new task can be moved into it until "cpuset.cpus.effective" becomes > > non-empty. > > This is always true due to no-tasks-in-intermediate-cgroups requirement, > right? or rather, I should have asked, why does this need an explicit check? Thanks. -- tejun