Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp100158iog; Sun, 12 Jun 2022 20:24:09 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy90HScHrHDnGpl8a4x4SVnKi54AZYkYbKTWXpZABJd5+F3E+MNiZB0NgDMhCtEx12cX/07 X-Received: by 2002:a17:906:8454:b0:711:c970:227a with SMTP id e20-20020a170906845400b00711c970227amr36172707ejy.4.1655090649539; Sun, 12 Jun 2022 20:24:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655090649; cv=none; d=google.com; s=arc-20160816; b=Eiv0yRG0z4D9H9HVpUITLfcBNO41tAvKnbSgTwKr5txYTpPxiDMcjR39dDwFre7+cM B/WbMU/VGtrOw+jjEViUE4Vp0liOO2hrRXhEz4KmFVMPUtFaQNHkX3G/M4bRzOgoNXph ae+ZNMlyuRsNp8Vx25mufKcfXX+59MQd3Gj4mLNKbJ/8qedGu3GTDtrADa0kK14D92X/ wBbqIo4S0AEoXNUX1meQM8TH7KtJvV2sU/i75dmJbMKtTpqH/7Dxo35nyf6rwGq92j9f 76W6wyb+juSyTt986RDOM+t1yI43EsdKgmonHvlx4g2Wkh12NOyfipE5DRMOyBdIEELe jjkA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=r5H0CNcahQjHmS/4jBwaskIQiBC4tSy1HTQWL7RLcJA=; b=H+Vd2aZq9BdTztwd7WPHrr0b2imulkGiIDryamZY9K+p0DNslzQBv9aZYtX8kGZAqO hI0uiNi3vTxBOOqKqXsAWz6bWPWrHbGPtfaZfVsWbdy3VjuWWyEYED0H8Bbd03zV48J5 CsvD+3ZHPVsNh1G4+p1sPk6IIJhURquXrQAxiYYK1G8N7OlA49RAvYBZsQnOja5vd5Ej vKzzzxCq3cq1srp6T058l3MJRc0Ajkt8s6goK5Vt+RJSICK2DYzGbCyx7ogmC6eutMQw HZr0apvE8YIMPOW7tQ0+oA8pVUkOktWj/WucZHTwW/kBk5M36eXKvJi3wu6UavJHBjkd +C4A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=XmmChJPG; 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=redhat.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e26-20020a170906081a00b00702d89f5975si6063842ejd.96.2022.06.12.20.23.45; Sun, 12 Jun 2022 20:24:09 -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=@redhat.com header.s=mimecast20190719 header.b=XmmChJPG; 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=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238150AbiFMCuP (ORCPT + 99 others); Sun, 12 Jun 2022 22:50:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41308 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234141AbiFMCuN (ORCPT ); Sun, 12 Jun 2022 22:50:13 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id AB75536E10 for ; Sun, 12 Jun 2022 19:50:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1655088611; 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=r5H0CNcahQjHmS/4jBwaskIQiBC4tSy1HTQWL7RLcJA=; b=XmmChJPGvEUUkMpBXHSv7MUcI1UjzA1hb4BOZJjvWtot0gyowNX3YlehFiDduQ/b1iKAHd tGsK2IuUvGIwxs3FeOLR3aa0PtR1mRplWZPvV4KXL40tmZl1XkWYctFg4J/iRNHyJzE7rn DdkzV4ZAYLF32Arlv7RIl389IvvS1sg= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-385-FjGOdKJEPMOhyDe_ujr9pg-1; Sun, 12 Jun 2022 22:50:07 -0400 X-MC-Unique: FjGOdKJEPMOhyDe_ujr9pg-1 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.rdu2.redhat.com [10.11.54.4]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id BF27C101AA45; Mon, 13 Jun 2022 02:50:06 +0000 (UTC) Received: from [10.22.16.100] (unknown [10.22.16.100]) by smtp.corp.redhat.com (Postfix) with ESMTP id B9D0D2026D64; Mon, 13 Jun 2022 02:50:05 +0000 (UTC) Message-ID: <23002f21-9dfb-31b4-c6c7-86f4e292dfea@redhat.com> Date: Sun, 12 Jun 2022 22:50:05 -0400 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.9.0 Subject: Re: [PATCH v11 3/8] cgroup/cpuset: Allow no-task partition to have empty cpuset.cpus.effective Content-Language: en-US To: Tejun Heo 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 , =?UTF-8?Q?Michal_Koutn=c3=bd?= References: <20220510153413.400020-1-longman@redhat.com> <20220510153413.400020-4-longman@redhat.com> From: Waiman Long In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.78 on 10.11.54.4 X-Spam-Status: No, score=-4.5 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_NONE,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 On 6/12/22 13:40, 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? I seems to remember there are corner cases where a task can be moved to an intermediate cgroup under circumstances. I need to dig further to find out what it is. Cheers, Longman