From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932227Ab2IDNat (ORCPT ); Tue, 4 Sep 2012 09:30:49 -0400 Received: from mx2.parallels.com ([64.131.90.16]:35911 "EHLO mx2.parallels.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752958Ab2IDNas (ORCPT ); Tue, 4 Sep 2012 09:30:48 -0400 Message-ID: <504601B8.2050907@parallels.com> Date: Tue, 4 Sep 2012 17:27:20 +0400 From: Glauber Costa User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:15.0) Gecko/20120828 Thunderbird/15.0 MIME-Version: 1.0 To: Michal Hocko CC: , , , Dave Jones , Ben Hutchings , Peter Zijlstra , Paul Turner , Lennart Poettering , Kay Sievers , Kamezawa Hiroyuki , Johannes Weiner , Tejun Heo Subject: Re: [PATCH v2] memcg: first step towards hierarchical controller References: <1346687211-31848-1-git-send-email-glommer@parallels.com> <20120903170806.GA21682@dhcp22.suse.cz> <5045BD25.10301@parallels.com> <20120904130905.GA15683@dhcp22.suse.cz> In-Reply-To: <20120904130905.GA15683@dhcp22.suse.cz> Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 09/04/2012 05:09 PM, Michal Hocko wrote: > Not really. Do it slowly means that somebody actually _notices_ that > something is about to change and they have a lot of time for that. This > will be really hard with the config option saying N by default. People > will ignore that until it's too late. > We are interested in those users who would keep the config default N and > they are (ab)using use_hierarchy=0 in a way which is hard/impossible to > fix. This is where distributions might help and they should IMHO but why > to put an additional code into upstream? Isn't it sufficient that those > who would like to help (and take the risk) would just take the patch? At least Fedora, seem to frown upon heavily at non-upstream patches. To follow up with what you say, what would you say if we would WARN_ON() unconditionally even if this switch is turned off? a warn on dmesg is almost impossible not to be seen by anyone who cares. That warning would tell people to flip the Kconfig option for the warning will disappear. But ultimately, we are still keeping the behavior intact.