From: Waiman Long Subject: Re: [PATCH v8 5/6] cgroup/cpuset: Update description of cpuset.cpus.partition in cgroup-v2.rst Date: Wed, 1 Dec 2021 12:49:15 -0500 Message-ID: References: <20211018143619.205065-1-longman@redhat.com> <20211018143619.205065-6-longman@redhat.com> <20211115193122.GA16798@blackbody.suse.cz> <8f68692b-bd8f-33fd-44ae-f6f83bf2dc00@redhat.com> <20211116175411.GA50019@blackbody.suse.cz> <293d7abf-aff6-fcd8-c999-b1dbda1cffb8@redhat.com> <2347fe66-dc68-6d58-e63b-7ed2b8077b48@redhat.com> <20211201141350.GA54766@blackbody.suse.cz> Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Return-path: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1638380964; 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=d3IYU06NP1ap6vKovk21hhbdlMoBPkQcBNAwBXt/XDY=; b=OhsUsVUD/48gfapf93JSJAouyUgzw2OWmvoLlUFNw6aOSnxyRTb8xKVN6Dnd82y0xp0hjx hHtmQ4T5WSM6uKra4LWimh89MVXCMZU6Qyg92mqFWLNfg0K1mCUFzJkYN9tJI9hB1oAJyK IyMKtILcANm4LTh5mrnqYQR+kFkLfKM= Content-Language: en-US In-Reply-To: List-ID: Content-Type: text/plain; charset="iso-8859-1"; format="flowed" To: Tejun Heo Cc: =?UTF-8?Q?Michal_Koutn=c3=bd?= , Zefan Li , Johannes Weiner , Jonathan Corbet , Shuah Khan , cgroups-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-doc-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-kselftest-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Andrew Morton , Roman Gushchin , Phil Auld , Peter Zijlstra , Juri Lelli , Frederic Weisbecker , Marcelo Tosatti On 12/1/21 11:39, Tejun Heo wrote: > On Wed, Dec 01, 2021 at 09:56:21AM -0500, Waiman Long wrote: >> Right, I shouldn't say corner cases. Having task in an intermediate >> partition is possible depending on event sequence. I am aware that there= are >> code in the cpuset code to prevent that, but it didn't block all cases. >>>> A valid parent partition may distribute out all its CPUs to >>>> =C2=A0its child partitions as long as there is no task associated wi= th it. >>> Assuming there's always at least one kernel thread in the root cgroup >>> that can't be migrated anyway.] >> I am aware of that. That is why I said root cgroup must have at least one >> cpu in its "cpuset.cpus.effective". > In that case, let's explicitly describe that condition. Yes, I will. Only non-root cgroup can distribute out all its CPUs. I=20 thought I said that in the documentation, maybe it is very clear. Cheers, Longman