From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from psmtp.com (na3sys010amx101.postini.com [74.125.245.101]) by kanga.kvack.org (Postfix) with SMTP id 3ACD26B010C for ; Tue, 26 Jun 2012 06:34:35 -0400 (EDT) Message-ID: <4FE98F97.6030406@parallels.com> Date: Tue, 26 Jun 2012 14:31:51 +0400 From: Glauber Costa MIME-Version: 1.0 Subject: Re: [PATCH] fix bad behavior in use_hierarchy file References: <1340616061-1955-1-git-send-email-glommer@parallels.com> <20120625204908.GL3869@google.com> <20120626075653.GD6713@tiehlicka.suse.cz> In-Reply-To: <20120626075653.GD6713@tiehlicka.suse.cz> Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org List-ID: To: Michal Hocko Cc: Tejun Heo , cgroups@vger.kernel.org, linux-mm@kvack.org, Andrew Morton , devel@openvz.org, Dhaval Giani , Kamezawa Hiroyuki , Johannes Weiner , Ying Han On 06/26/2012 11:56 AM, Michal Hocko wrote: > [Adding Ying to CC - they are using hierarchies AFAIU in their workloads] > > On Mon 25-06-12 13:49:08, Tejun Heo wrote: > [...] >> A bit of delta but is there any chance we can either deprecate >> .use_hierarhcy or at least make it global toggle instead of subtree >> thing? > > So what you are proposing is to have all subtrees of the root either > hierarchical or not, right? > >> This seems needlessly complicated. :( > > Toggle wouldn't help much I am afraid. We would still have to > distinguish (non)hierarchical cases. And I am not sure we can make > everything hierarchical easily. > Most users (from my experience) ignored use_hierarchy for some reasons > and the end results might be really unexpected for them if they used > deeper subtrees (which might be needed due to combination with other > controller(s)). > Do we have any idea about who those users are, and how is their setup commonly done? We can propose work arounds here, but not without first knowing work arounds to what =p One thing that would really influence this, for instance, is whether or not they limit at all levels in the tree, etc. -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org