]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2241e0b23ca8c0736526c2c5152039fcd794755c
tree5c46a979c8828346e41fa2f967dd56a4d7c79cd1
parent244666cc5c674203511b6865e5435d457fe8f204
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