Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2993056AbbEEOJZ (ORCPT ); Tue, 5 May 2015 10:09:25 -0400 Received: from mail-qg0-f47.google.com ([209.85.192.47]:32902 "EHLO mail-qg0-f47.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751120AbbEEOJQ (ORCPT ); Tue, 5 May 2015 10:09:16 -0400 Date: Tue, 5 May 2015 10:09:12 -0400 From: Tejun Heo To: Mike Galbraith Cc: Zefan Li , Ingo Molnar , Peter Zijlstra , LKML , Cgroups Subject: Re: [PATCH] sched: Relax a restriction in sched_rt_can_attach() Message-ID: <20150505140912.GQ1971@htj.duckdns.org> References: <5546C34C.7050202@huawei.com> <1430709236.3129.42.camel@gmail.com> <5546F80B.3070802@huawei.com> <1430716247.3129.44.camel@gmail.com> <1430717964.3129.62.camel@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1430717964.3129.62.camel@gmail.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1326 Lines: 36 Hello, Mike. On Mon, May 04, 2015 at 07:39:24AM +0200, Mike Galbraith wrote: > > > Some degree of flexibility is provided so that you may disable some controllers > > > in a subtree. For example: > > > > > > root ---> child1 > > > (cpuset,memory,cpu) (cpuset,memory) > > > \ > > > \-> child2 > > > (cpu) > > > > Whew, that's a relief. Thanks. > > But somehow I'm not feeling a whole lot better. > > "May" means if you don't explicitly take some action to disable group > scheduling, you get it (I don't care if I have an off button), but that In the new interface, hierarchy setup and controller configuration are two separate steps. Creating subhierarchy doesn't enable controller automatically and as long as specific controllers are concerned nothing changes when subhierarchy is created and processes are moved inbetween them. If control over specific resources is necessary in a given hierarchy, the matching controllers should be enabled explicitly. Thanks. -- tejun -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/