From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1765135AbdEXRFi (ORCPT ); Wed, 24 May 2017 13:05:38 -0400 Received: from mail-yw0-f194.google.com ([209.85.161.194]:35525 "EHLO mail-yw0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1761909AbdEXRFa (ORCPT ); Wed, 24 May 2017 13:05:30 -0400 Date: Wed, 24 May 2017 13:05:27 -0400 From: Tejun Heo To: Waiman Long Cc: Li Zefan , Johannes Weiner , Peter Zijlstra , Ingo Molnar , cgroups@vger.kernel.org, linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, linux-mm@kvack.org, kernel-team@fb.com, pjt@google.com, luto@amacapital.net, efault@gmx.de Subject: Re: [RFC PATCH v2 12/17] cgroup: Remove cgroup v2 no internal process constraint Message-ID: <20170524170527.GH24798@htj.duckdns.org> References: <1494855256-12558-1-git-send-email-longman@redhat.com> <1494855256-12558-13-git-send-email-longman@redhat.com> <20170519203824.GC15279@wtj.duckdns.org> <93a69664-4ba6-9ee8-e4ea-ce76b6682c77@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <93a69664-4ba6-9ee8-e4ea-ce76b6682c77@redhat.com> User-Agent: Mutt/1.8.2 (2017-04-18) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello, On Mon, May 22, 2017 at 12:56:08PM -0400, Waiman Long wrote: > All controllers can use the special sub-directory if userland chooses to > do so. The problem that I am trying to address in this patch is to allow > more natural hierarchy that reflect a certain purpose, like the task > classification done by systemd. Restricting tasks only to leaf nodes > makes the hierarchy unnatural and probably difficult to manage. I see but how is this different from userland just creating the leaf cgroup? I'm not sure what this actually enables in terms of what can be achieved with cgroup. I suppose we can argue that this is more convenient but I'd like to keep the interface orthogonal as much as reasonably possible. Thanks. -- tejun