Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp756206iog; Mon, 13 Jun 2022 12:14:17 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz9lf28tizqQezz3raso6Bug1sRmtWsf9X2XF36hY/C2mugwPFjBr47Fyihc0PkZuUbXvFq X-Received: by 2002:a63:6c42:0:b0:3fe:465:7a71 with SMTP id h63-20020a636c42000000b003fe04657a71mr944372pgc.101.1655147657316; Mon, 13 Jun 2022 12:14:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655147657; cv=none; d=google.com; s=arc-20160816; b=JItjX/hxDbwCu6yoO954KI6BB23Swt4aHxKSDtx1hh+8+A3BDdkK1BXWbp91bXfopB mJ7AF3Fljpl3he4oFunkvubpAA4NAp2aWz7ufpTeu5WGhrTfphdII62MMT3E2Eey/pOx yL9nU8bxT1Y2d56BaH4kiH4rPsaH3cqxV4qz0wteSMz/UcO1m6JIRxg8FAdKV+mOwNHd alDE8qvRZ3IZEkQJQ4DJZZ7mGH0Oaw8Dz3YHqFOQJyeGP4hGPKzsjxUnk+pKU7rTvmN0 kxqvvIY3vHGICFa1L/4+nslZdJTSnmCCk7ss5vVRuKKBCQVFS14Desc1De8E9guY0GA8 L6rA== 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=PtMrsrYPM0J5i/yjkLVXsmYxyhse0DEHxO9KbSLC6N4=; b=FAIc4A1PUmj1uUzdUO4u1gSIfrQUF+sC7AlAN6ijA6mfG6Qk4svVETJgmeyNhh0pCh fmRDoU1/mI1Ts0NiPQ7r2xghM1a0sger4BB2bJbiYgDl5fKK1pEZr5QDyXQsN4Ju3XVs KmaBd3/uXGumFpoAw3XgQA2ul7yVPC74cgP8ZB0fYh6tdp+TGhzejF0ppiIquKYKcMxi bIpA6wBZQ3QFde2hUCqOLJ3r82oLXw3N7Am0Sn2FHEG36dBw6PZ4evz99wqJ+A+vKGy2 5qZPIEe3P2OuUt6B/o4d37yAl85sCGsn0j9827qU9OYjNgLfh0ePCy4zJdAcTRXRL9wa D1kg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=KWomNnTP; 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 j192-20020a638bc9000000b0040535ebf0d0si7214505pge.687.2022.06.13.12.14.05; Mon, 13 Jun 2022 12:14:17 -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=KWomNnTP; 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 S1347406AbiFMTE1 (ORCPT + 99 others); Mon, 13 Jun 2022 15:04:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55406 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1348381AbiFMTDn (ORCPT ); Mon, 13 Jun 2022 15:03:43 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 53FB21059F3 for ; Mon, 13 Jun 2022 09:47:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1655138861; 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=PtMrsrYPM0J5i/yjkLVXsmYxyhse0DEHxO9KbSLC6N4=; b=KWomNnTPLp9R9RLCswiNkp9uGu/VWiVGMJ2zTpcdDwQmJnpcYm42aXJf6mteD58+7JmUL5 +hj38+T48iFWd8PBhA3jjd3kP+qm+WAx2XTtl7yymty66Q1HyupkTzXifHYfRNBKJhtjdR fN/MFLPar0/hO5tYb4EI+PgJ3t4B7kM= 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-344-xlhnHyQEOVexYZQQbhyPUQ-1; Mon, 13 Jun 2022 12:47:38 -0400 X-MC-Unique: xlhnHyQEOVexYZQQbhyPUQ-1 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.rdu2.redhat.com [10.11.54.6]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 2E0FB802804; Mon, 13 Jun 2022 16:47:38 +0000 (UTC) Received: from [10.18.17.215] (dhcp-17-215.bos.redhat.com [10.18.17.215]) by smtp.corp.redhat.com (Postfix) with ESMTP id 820BE2166B26; Mon, 13 Jun 2022 16:47:37 +0000 (UTC) Message-ID: Date: Mon, 13 Jun 2022 12:47:37 -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: =?UTF-8?Q?Michal_Koutn=c3=bd?= , 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 References: <20220510153413.400020-1-longman@redhat.com> <20220510153413.400020-4-longman@redhat.com> <20220613140206.GA6910@blackbody.suse.cz> From: Waiman Long In-Reply-To: <20220613140206.GA6910@blackbody.suse.cz> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 2.78 on 10.11.54.6 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=unavailable 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/13/22 10:02, Michal Koutný wrote: > On Sun, Jun 12, 2022 at 04:55:13PM -1000, Tejun Heo wrote: >> But how would that happen? A lot of other things would break too if that >> were to happen. > cpuset is a threaded controller where the internal-node-constraint does > not hold. So the additional condition for cpuset migrations is IMO > warranted (and needed if there's no "fall up"). Yes, you are right. cpuset is threaded and so it may have tasks even if it is not the leaf node. Thanks, Longman