diff options
author | Johannes Weiner <hannes@cmpxchg.org> | 2014-12-10 18:42:37 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-12-10 20:41:04 -0500 |
commit | 5b1efc027c0b51ca3e76f4e00c83358f8349f543 (patch) | |
tree | ef12cdcbfb7ac8ad45b66e6ee5e6cf9f2d566418 /init | |
parent | 71f87bee38edddb21d97895fa938744cf3f477bb (diff) |
kernel: res_counter: remove the unused API
All memory accounting and limiting has been switched over to the
lockless page counters. Bye, res_counter!
[akpm@linux-foundation.org: update Documentation/cgroups/memory.txt]
[mhocko@suse.cz: ditch the last remainings of res_counter]
Signed-off-by: Johannes Weiner <hannes@cmpxchg.org>
Acked-by: Vladimir Davydov <vdavydov@parallels.com>
Acked-by: Michal Hocko <mhocko@suse.cz>
Cc: Tejun Heo <tj@kernel.org>
Cc: David Rientjes <rientjes@google.com>
Cc: Paul Bolle <pebolle@tiscali.nl>
Signed-off-by: Michal Hocko <mhocko@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'init')
-rw-r--r-- | init/Kconfig | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/init/Kconfig b/init/Kconfig index a60d1442d1df..1761c72bc1a0 100644 --- a/init/Kconfig +++ b/init/Kconfig | |||
@@ -972,12 +972,6 @@ config CGROUP_CPUACCT | |||
972 | Provides a simple Resource Controller for monitoring the | 972 | Provides a simple Resource Controller for monitoring the |
973 | total CPU consumed by the tasks in a cgroup. | 973 | total CPU consumed by the tasks in a cgroup. |
974 | 974 | ||
975 | config RESOURCE_COUNTERS | ||
976 | bool "Resource counters" | ||
977 | help | ||
978 | This option enables controller independent resource accounting | ||
979 | infrastructure that works with cgroups. | ||
980 | |||
981 | config PAGE_COUNTER | 975 | config PAGE_COUNTER |
982 | bool | 976 | bool |
983 | 977 | ||