Thread (16 messages) 16 messages, 5 authors, 2012-06-26

Re: [PATCH] memcg: first step towards hierarchical controller

From: Tejun Heo <hidden>
Date: 2012-06-26 18:32:56
Also in: linux-mm

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help