mm: memcontrol: use "max" instead of "infinity" in control knobs
authorJohannes Weiner <[email protected]>
Fri, 27 Feb 2015 23:52:04 +0000 (15:52 -0800)
committerLinus Torvalds <[email protected]>
Sat, 28 Feb 2015 17:57:51 +0000 (09:57 -0800)
commitd2973697b377e8b061e179c6057e94151759a73d
tree5c46a979c8828346e41fa2f967dd56a4d7c79cd1
parent2ea55a2caee016daee511431217861fb04767b27
mm: memcontrol: use "max" instead of "infinity" in control knobs

The memcg control knobs indicate the highest possible value using the
symbolic name "infinity", which is long and awkward to type.

Switch to the string "max", which is just as descriptive but shorter and
sweeter.

This changes a user interface, so do it before the release and before
the development flag is dropped from the default hierarchy.

Signed-off-by: Johannes Weiner <[email protected]>
Cc: Michal Hocko <[email protected]>
Cc: Tejun Heo <[email protected]>
Cc: Vladimir Davydov <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Documentation/cgroups/unified-hierarchy.txt
mm/memcontrol.c