Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp4164458imm; Mon, 15 Oct 2018 10:05:17 -0700 (PDT) X-Google-Smtp-Source: ACcGV62j+qf5O+H7KBJTbnOExr92FkPqy0gH9cwseQftni/cv3BdFmhrZmXzJadEEKFmj3Wo00Re X-Received: by 2002:a63:306:: with SMTP id 6-v6mr16814152pgd.393.1539623117390; Mon, 15 Oct 2018 10:05:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539623117; cv=none; d=google.com; s=arc-20160816; b=e9pl4EWSOmL0sm3Q5NKKdlFHg7U4hNT+8zhtTJ02PfbCc9GpJFaWKWFDppB8dWZPs/ Mu78mRGltkHxRkbE0J9e5TSZI29gQ9d9KASkHi7PAEXcDD0Y1rBlL8J8eTQ2AvTax3er qh5ljJbJyy2uRQwSM4kEHY+ocbK/WCU7g4iqDquyJgD6nvCSh7PPgROGopBMb4CqG8SV WTMNaUtm51c0aRpR2coaW9+diQXqifBeFvt+0Sp0POR8E6G1dflExhh3zzhxITTjkgUX NUGB7hoEL88zMaDp/rJMHXecCy982LGJNnNdX2RID0UpYnrZzUfGm6fcy3tM7DGc68cS fnGg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-language :content-transfer-encoding:in-reply-to:mime-version:user-agent:date :message-id:organization:from:references:cc:to:subject; bh=4Z5S1OjvGPB4/Inmibs2fkgShDae9pTBs53estmAf1E=; b=QGFfFwwrC0vBRo8SzaocSlZADSPEHmJtOaIhhyU0FF5hCDxxHAazPOd8kxlGgDAnOS +lVDvmh9K4wOZ5T8dgS1CqD56Hqp0+jpJ+Kn7IpZ+pSM3EoBRhFfH+M4Yb8+gpjhS+h+ l6j45n3ReQbaah1k/f0vyGE+KV5WOpjQD4lw078juN/1ZWNDX4qMxoaDBJbDCSHfoY5o IwyoJhI77msTPY3lkeNV+xchSNaBCpfwLqlSvvA5LUUSXgCf1UQXGhoSQr1sPEofHEBG pt67IUUC3UPgrgaJi9K3CDWBjgwygMTMjXqSlnKIn3mrMIVfDTye7L6Ia8jc/b/4H4Qi dNXw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r198-v6si11286679pgr.456.2018.10.15.10.05.00; Mon, 15 Oct 2018 10:05:17 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726786AbeJPAu3 convert rfc822-to-8bit (ORCPT + 99 others); Mon, 15 Oct 2018 20:50:29 -0400 Received: from mx1.redhat.com ([209.132.183.28]:34844 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726588AbeJPAu3 (ORCPT ); Mon, 15 Oct 2018 20:50:29 -0400 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 66764307D857; Mon, 15 Oct 2018 17:04:25 +0000 (UTC) Received: from llong.remote.csb (dhcp-17-8.bos.redhat.com [10.18.17.8]) by smtp.corp.redhat.com (Postfix) with ESMTP id B7A655EE1E; Mon, 15 Oct 2018 17:04:21 +0000 (UTC) Subject: Re: [PATCH v13 00/11] cpuset: Enable cpuset controller in default hierarchy To: Tejun Heo Cc: Li Zefan , Johannes Weiner , Peter Zijlstra , Ingo Molnar , cgroups@vger.kernel.org, linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, kernel-team@fb.com, pjt@google.com, luto@amacapital.net, Mike Galbraith , torvalds@linux-foundation.org, Roman Gushchin , Juri Lelli , Patrick Bellasi References: <1539366951-8498-1-git-send-email-longman@redhat.com> <20181015163540.GQ270328@devbig004.ftw2.facebook.com> From: Waiman Long Organization: Red Hat Message-ID: <89b64577-f20e-47d8-03a6-c047e5107271@redhat.com> Date: Mon, 15 Oct 2018 13:04:21 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.0 MIME-Version: 1.0 In-Reply-To: <20181015163540.GQ270328@devbig004.ftw2.facebook.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8BIT Content-Language: en-US X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.48]); Mon, 15 Oct 2018 17:04:25 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 10/15/2018 12:35 PM, Tejun Heo wrote: > Hello, Waiman. > > This looks great to me. I have only one small nit in terms of > interface. Currently, cpuset.partition file uses -1, 0, 1; however, > given that this is consistent with how cgroup.type behaves (something > can be set but may be invalid), I wonder whether using a similar > syntax would be more consistent. e.g. sth like cpuset.type which > takes "normal" or "partition" and shows one of "normal", "partition" > and "partition invalid". I'd be perfectly happy with that being a > follow-up patch. Sure. I can send a follow-up patch to add that. > Peter, does the patchset look good to you? It does everything we want > it to in terms of sched domain partitioning and is compliant all > cgroup2 conventions. If so, I'll apply the series to the cgroup devel > branch. > > Thank you very much for the work and persistence! > Thanks for the comment. There is a minor bug in patch 3 because of the 2 possibilities of how cpumask_var_t can be defined. I will send updated version of that patch to fix that. -Longman