From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 048D6C43334 for ; Mon, 13 Jun 2022 15:44:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243396AbiFMPot (ORCPT ); Mon, 13 Jun 2022 11:44:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58722 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1351282AbiFMPoM (ORCPT ); Mon, 13 Jun 2022 11:44:12 -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 A930E60D1 for ; Mon, 13 Jun 2022 06:19:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1655126347; 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=f5Lm2wWyGosZM6z8k7SEF9qOMpYtGM8nzWGhua6hIYw=; b=BP2ZWsMY9mQgmW/B+MzU/roppvLwmjoqdrxfizDlBLkZ/bLKb0YkmIqgbpZSqyE79d30Bz ioBErVgLiYJziZaoxfQcUAE/Mu/m81UK0PUUmiwjt+q7KK8ansVGFxV7P8e8QWWr59nRbD t3D/3J+eoRwd/Ena6JAZjbMfVxemy2A= Received: from mimecast-mx02.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-569--wfr7ystMWKUEgkXXr7izQ-1; Mon, 13 Jun 2022 09:19:04 -0400 X-MC-Unique: -wfr7ystMWKUEgkXXr7izQ-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 B9B8B28224F2; Mon, 13 Jun 2022 13:18:56 +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 0BF2F2026D64; Mon, 13 Jun 2022 13:18:56 +0000 (UTC) Message-ID: <8d7ddb5a-0d0b-3f2e-e049-900360e95fc6@redhat.com> Date: Mon, 13 Jun 2022 09:18:55 -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 7/8] cgroup/cpuset: Update description of cpuset.cpus.partition in cgroup-v2.rst 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-8-longman@redhat.com> <404171dc-0da3-21f2-5003-9718f875e967@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 Precedence: bulk List-ID: X-Mailing-List: linux-doc@vger.kernel.org On 6/12/22 23:12, Tejun Heo wrote: > Hello, > > On Sun, Jun 12, 2022 at 11:02:38PM -0400, Waiman Long wrote: >> That is the behavior enforced by setting the CPU_EXCLUSIVE bit in cgroup v1. >> I haven't explicitly change it to make it different in cgroup v2. The major >> reason is that I don't want change to one cpuset to affect a sibling >> partition as it may make the code more complicate to validate if a partition >> is valid. > If at all possible, I'd really like to avoid situations where a parent can't > withdraw resources due to something that a descendant does. No, it doesn't affect parent at all. It just limit whats the siblings can do due to their mutual constraint. If this is what the confusion is about, I will try to reword the doc text. Cheers, Longman