mm: memcontrol: use "max" instead of "infinity" in control knobs
authorJohannes Weiner <hannes@cmpxchg.org>
Fri, 27 Feb 2015 23:52:04 +0000 (15:52 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
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 <hannes@cmpxchg.org>
Cc: Michal Hocko <mhocko@suse.cz>
Cc: Tejun Heo <tj@kernel.org>
Cc: Vladimir Davydov <vdavydov@parallels.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Documentation/cgroups/unified-hierarchy.txt
mm/memcontrol.c