Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753076AbdHXPC2 (ORCPT ); Thu, 24 Aug 2017 11:02:28 -0400 Received: from mail-qk0-f195.google.com ([209.85.220.195]:37624 "EHLO mail-qk0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751083AbdHXPC0 (ORCPT ); Thu, 24 Aug 2017 11:02:26 -0400 Date: Thu, 24 Aug 2017 08:02:22 -0700 From: Tejun Heo To: Waiman Long Cc: Li Zefan , Johannes Weiner , cgroups@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] cpuset: Allow cpuset controller in default hierarchy Message-ID: <20170824150222.GQ491396@devbig577.frc2.facebook.com> References: <1503585611-13496-1-git-send-email-longman@redhat.com> <20170824144322.GP491396@devbig577.frc2.facebook.com> <863b01d0-e724-dab6-258e-d5980f985938@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <863b01d0-e724-dab6-258e-d5980f985938@redhat.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1104 Lines: 29 Hello, On Thu, Aug 24, 2017 at 10:56:21AM -0400, Waiman Long wrote: > The main reason for sending out this patch is to figure out what exactly > is in your mind before enabling cpuset in v2. > > From my point of view, the exclusive setting makes cpuset behave more > like a resource domain that a resource allocated to one cgroup won't be > available for another cgroup. So we can argue it both ways whether it > violates the basic hierarchy rules or not. It's not even siblings interfering with other siblings. The resource knobs belong to the parent, right? So, the only thing it's doing is restricting the parent itself from creating certain configurations, which can be argued to be a feature but it's a really weird policy enforcement implemented in kernel. > I will be in the Plumbers Conference next month and we can talk more > about this. My goal is to make cgroup v2 ready for prime time hopefully > by the end of the year. Sure, the only thing I think we need for cpuset is cutting down the interface to the minimal set which provides all the features to userspace. Thanks. -- tejun