Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp960853pxb; Wed, 27 Oct 2021 16:10:11 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzVmThIlPxUHjJkMbtZrN/BPN9kVBNOQ3gxOgZtnAIx5ZokSE9TgrYzvAn8pYrK1wwysQ/A X-Received: by 2002:a50:ff07:: with SMTP id a7mr1122661edu.338.1635376211214; Wed, 27 Oct 2021 16:10:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1635376211; cv=none; d=google.com; s=arc-20160816; b=kC77e4qyfp1YdxhphdrEa7SN++Ym8ptIhp3F6S/uwZGCNfCMMfUahiWpeXJ7IlC361 orpf950IgOSZ9EkHB5KdygcllwvBQT0wHOIB5RxT2INfgRI5RkpbPnHMIg41WwcjwFza Z5MdjcO65jw/3DiEuLhR9pbCi1+03Fyq8y8osH1XJXOk8mkTtRdMsqEUejPw6PlIi/i9 Ocy/gSB7damBeZCIsxilwkohAdzkjEtZtPFOMUX2oxAaOim8vKE7gL/i3n1ChU2fuIqg DEtsqsfKBwGg+X8wMmDrqudWyDNQBAN8Bxe5xIK1M9dSDzVT7+naz0R44JR8iiA2EX+G TOCA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-language:content-transfer-encoding :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=fSEXEHxW0XKJ3A0RuRyJ3sw6tXP96RKh+PO7m5ry7Bs=; b=w1lwKBfq4TYEKTppYVYLqujNVWx2oF/GPnEEvZXu8j8LztB9y2u1qwPXTi2z1drIbo iE5tDQh6d59BfLIEyiQy5StK4xrjtyUP4l4N6RDAt1Gt7NJ5JQyM4kbg9TPJI48n6khQ mDrMEFtMBJjmvdS7CpJhqGpZofJ0ZHxjrvzQMYV8tZdR9gyQ7Ztjz748d+uoGNEgUu/U 7ZCSrKAF42JUlUj3F977LO/nVQizaZHEXYXKd7uQluvMcH8aC9LSf4S9PtuW+dvbbuN/ faTznWwx2pwvT17Txdpv/D/BPmPfiIdRyFZHgLmyT8pDmVedRmQzG2KdkOUw3F42z9Zq 0KPw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=R7LPsrqN; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id t2si1434326ejo.96.2021.10.27.16.09.45; Wed, 27 Oct 2021 16:10:11 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=R7LPsrqN; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S229836AbhJ0XIQ (ORCPT + 99 others); Wed, 27 Oct 2021 19:08:16 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]:35521 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230080AbhJ0XIP (ORCPT ); Wed, 27 Oct 2021 19:08:15 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1635375949; 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=fSEXEHxW0XKJ3A0RuRyJ3sw6tXP96RKh+PO7m5ry7Bs=; b=R7LPsrqNqhzlYxxwwFk8C3/PNv1VU7ulKfY1WanzXggOnerZKysHYLKV5jIo9GTz1yXR2P EjkOaWBUgnk7/s4KHlbF0Gh9bi3QTubZ4d5Ir0yrOySaPYTqj5FE9qViPPdLGDVgzp1KaB wejPn0ZVtVz+r/5YZ6MWdwsmOuUtamQ= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-392-41idCAuGM4-fWbQACjNl8A-1; Wed, 27 Oct 2021 19:05:46 -0400 X-MC-Unique: 41idCAuGM4-fWbQACjNl8A-1 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 257C88026AD; Wed, 27 Oct 2021 23:05:44 +0000 (UTC) Received: from llong.remote.csb (unknown [10.22.9.173]) by smtp.corp.redhat.com (Postfix) with ESMTP id E9FB15C1C5; Wed, 27 Oct 2021 23:05:36 +0000 (UTC) Subject: Re: [PATCH v8 0/6] cgroup/cpuset: Add new cpuset partition type & empty effecitve cpus To: Tejun Heo , Zefan Li , Johannes Weiner , Jonathan Corbet , Shuah Khan Cc: 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: <20211018143619.205065-1-longman@redhat.com> From: Waiman Long Message-ID: <55402d20-c23e-bb56-6a7a-6e208c08280a@redhat.com> Date: Wed, 27 Oct 2021 19:05:36 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.14.0 MIME-Version: 1.0 In-Reply-To: <20211018143619.205065-1-longman@redhat.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 10/18/21 10:36 AM, Waiman Long wrote: > v8: > - Reorganize the patch series and rationalize the features and > constraints of a partition. > - Update patch descriptions and documentation accordingly. > > v7: > - Simplify the documentation patch (patch 5) as suggested by Tejun. > - Fix a typo in patch 2 and improper commit log in patch 3. > > v6: > - Remove duplicated tmpmask from update_prstate() which should fix the > frame size too large problem reported by kernel test robot. > > This patchset makes four enhancements to the cpuset v2 code. > > Patch 1: Enable partition with no task to have empty cpuset.cpus.effective. > > Patch 2: Refining the features and constraints of a cpuset partition > clarifying what changes are allowed. > > Patch 3: Add a new partition state "isolated" to create a partition > root without load balancing. This is for handling intermitten workloads > that have a strict low latency requirement. > > Patch 4: Enable the "cpuset.cpus.partition" file to show the reason > that causes invalid partition like "root invalid (No cpu available > due to hotplug)". > > Patch 5 updates the cgroup-v2.rst file accordingly. Patch 6 adds a new > cpuset test to test the new cpuset partition code. > > Waiman Long (6): > cgroup/cpuset: Allow no-task partition to have empty > cpuset.cpus.effective > cgroup/cpuset: Refining features and constraints of a partition > cgroup/cpuset: Add a new isolated cpus.partition type > cgroup/cpuset: Show invalid partition reason string > cgroup/cpuset: Update description of cpuset.cpus.partition in > cgroup-v2.rst > kselftest/cgroup: Add cpuset v2 partition root state test > > Documentation/admin-guide/cgroup-v2.rst | 153 ++-- > kernel/cgroup/cpuset.c | 393 +++++++---- > tools/testing/selftests/cgroup/Makefile | 5 +- > .../selftests/cgroup/test_cpuset_prs.sh | 664 ++++++++++++++++++ > tools/testing/selftests/cgroup/wait_inotify.c | 87 +++ > 5 files changed, 1115 insertions(+), 187 deletions(-) > create mode 100755 tools/testing/selftests/cgroup/test_cpuset_prs.sh > create mode 100644 tools/testing/selftests/cgroup/wait_inotify.c Any feedback on this patch series? Thanks, Longman