cgroups.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Tejun Heo <tj-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
To: Glauber Costa <glommer-bzQdu9zFT3WakBO8gow8eQ@public.gmane.org>
Cc: cgroups-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	linux-mm-Bw31MaZKKs3YtjvyW6yDsg@public.gmane.org,
	Peter Zijlstra
	<a.p.zijlstra-/NLkJaSkS4VmR6Xm/wNWPw@public.gmane.org>,
	Michal Hocko <mhocko-AlSwsSmVLrQ@public.gmane.org>,
	Kamezawa Hiroyuki
	<kamezawa.hiroyu-+CUm20s59erQFUHtdCDX3A@public.gmane.org>,
	Johannes Weiner <hannes-druUgvl0LCNAfugRpC6u6w@public.gmane.org>
Subject: Re: [PATCH] memcg: first step towards hierarchical controller
Date: Tue, 26 Jun 2012 11:32:52 -0700	[thread overview]
Message-ID: <20120626183252.GS3869@google.com> (raw)
In-Reply-To: <4FE9FDCC.80000-bzQdu9zFT3WakBO8gow8eQ@public.gmane.org>

On Tue, Jun 26, 2012 at 10:22:04PM +0400, Glauber Costa wrote:
> I would agree with you if we were changing a fundamental algorithm,
> with no way to resort back to a default setup. We are not removing any
> functionality whatsoever here.
> 
> I would agree with you if we were actually documenting explicitly
> that this is an expected default behavior.
> 
> But we never made the claim that use_hierarchy would default to 0.
> 
> Well, we seldom make claims about default values of any tunables. We
> just expect them to be reasonable values, and we seem to agree that
> this is, indeed, reasonable.

No, we can't change behavior in this major way silently.  Any change
of this scale must be explicit.  The behavior change is not only major
but also subtle at the same time.  If a user is using flat hierarchy
and then boot a new kernel, the user suddenly gets hierarchical
accounting which may or may not cause noticeable problem immediately
and would be difficult like hell to chase down and diagnose.

I don't mind how global switch is implemented but the flip should be
explicit no matter what.  This is something we simply CAN NOT do.

Thanks.

-- 
tejun

  parent reply	other threads:[~2012-06-26 18:32 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-26 13:30 [PATCH] memcg: first step towards hierarchical controller Glauber Costa
     [not found] ` <1340717428-9009-1-git-send-email-glommer-bzQdu9zFT3WakBO8gow8eQ@public.gmane.org>
2012-06-26 14:11   ` Johannes Weiner
2012-06-26 14:19     ` Peter Zijlstra
2012-06-26 14:38       ` Johannes Weiner
2012-06-26 14:38         ` Glauber Costa
     [not found]         ` <20120626143818.GB27816-druUgvl0LCNAfugRpC6u6w@public.gmane.org>
2012-06-26 14:41           ` Peter Zijlstra
2012-06-26 14:29     ` Glauber Costa
     [not found]     ` <20120626141127.GA27816-druUgvl0LCNAfugRpC6u6w@public.gmane.org>
2012-06-26 15:31       ` Glauber Costa
     [not found]         ` <4FE9D5C9.805-bzQdu9zFT3WakBO8gow8eQ@public.gmane.org>
2012-06-26 15:37           ` Johannes Weiner
2012-06-26 15:27   ` Michal Hocko
     [not found]     ` <20120626152711.GF9566-VqjxzfR4DlwKmadIfiO5sKVXKuFTiq87@public.gmane.org>
2012-06-26 15:28       ` Glauber Costa
     [not found]         ` <4FE9D501.3050004-bzQdu9zFT3WakBO8gow8eQ@public.gmane.org>
2012-06-26 15:50           ` Michal Hocko
2012-06-26 18:12   ` Tejun Heo
     [not found]     ` <20120626181209.GR3869-hpIqsD4AKlfQT0dZR+AlfA@public.gmane.org>
2012-06-26 18:22       ` Glauber Costa
     [not found]         ` <4FE9FDCC.80000-bzQdu9zFT3WakBO8gow8eQ@public.gmane.org>
2012-06-26 18:32           ` Tejun Heo [this message]
2012-06-26 22:12           ` Michal Hocko

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20120626183252.GS3869@google.com \
    --to=tj-dgejt+ai2ygdnm+yrofe0a@public.gmane.org \
    --cc=a.p.zijlstra-/NLkJaSkS4VmR6Xm/wNWPw@public.gmane.org \
    --cc=cgroups-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=glommer-bzQdu9zFT3WakBO8gow8eQ@public.gmane.org \
    --cc=hannes-druUgvl0LCNAfugRpC6u6w@public.gmane.org \
    --cc=kamezawa.hiroyu-+CUm20s59erQFUHtdCDX3A@public.gmane.org \
    --cc=linux-mm-Bw31MaZKKs3YtjvyW6yDsg@public.gmane.org \
    --cc=mhocko-AlSwsSmVLrQ@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).