diff options
author | Johannes Weiner <hannes@cmpxchg.org> | 2014-12-10 18:42:34 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-12-10 20:41:04 -0500 |
commit | 71f87bee38edddb21d97895fa938744cf3f477bb (patch) | |
tree | 036178cbc751f0c98c4a25eb1742ef4ec6d3c580 /Documentation/cgroups | |
parent | 3e32cb2e0a12b6915056ff04601cf1bb9b44f967 (diff) |
mm: hugetlb_cgroup: convert to lockless page counters
Abandon the spinlock-protected byte counters in favor of the unlocked
page counters in the hugetlb controller as well.
Signed-off-by: Johannes Weiner <hannes@cmpxchg.org>
Reviewed-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>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'Documentation/cgroups')
-rw-r--r-- | Documentation/cgroups/hugetlb.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/cgroups/hugetlb.txt b/Documentation/cgroups/hugetlb.txt index a9faaca1f029..106245c3aecc 100644 --- a/Documentation/cgroups/hugetlb.txt +++ b/Documentation/cgroups/hugetlb.txt | |||
@@ -29,7 +29,7 @@ Brief summary of control files | |||
29 | 29 | ||
30 | hugetlb.<hugepagesize>.limit_in_bytes # set/show limit of "hugepagesize" hugetlb usage | 30 | hugetlb.<hugepagesize>.limit_in_bytes # set/show limit of "hugepagesize" hugetlb usage |
31 | hugetlb.<hugepagesize>.max_usage_in_bytes # show max "hugepagesize" hugetlb usage recorded | 31 | hugetlb.<hugepagesize>.max_usage_in_bytes # show max "hugepagesize" hugetlb usage recorded |
32 | hugetlb.<hugepagesize>.usage_in_bytes # show current res_counter usage for "hugepagesize" hugetlb | 32 | hugetlb.<hugepagesize>.usage_in_bytes # show current usage for "hugepagesize" hugetlb |
33 | hugetlb.<hugepagesize>.failcnt # show the number of allocation failure due to HugeTLB limit | 33 | hugetlb.<hugepagesize>.failcnt # show the number of allocation failure due to HugeTLB limit |
34 | 34 | ||
35 | For a system supporting two hugepage size (16M and 16G) the control | 35 | For a system supporting two hugepage size (16M and 16G) the control |