diff options
author | Johannes Weiner <hannes@cmpxchg.org> | 2014-12-10 15:42:34 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-12-10 17:41:04 -0800 |
commit | 71f87bee38edddb21d97895fa938744cf3f477bb (patch) | |
tree | 036178cbc751f0c98c4a25eb1742ef4ec6d3c580 /include/linux/hugetlb_cgroup.h | |
parent | 3e32cb2e0a12b6915056ff04601cf1bb9b44f967 (diff) | |
download | linux-71f87bee38edddb21d97895fa938744cf3f477bb.tar.gz linux-71f87bee38edddb21d97895fa938744cf3f477bb.tar.bz2 linux-71f87bee38edddb21d97895fa938744cf3f477bb.zip |
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 'include/linux/hugetlb_cgroup.h')
-rw-r--r-- | include/linux/hugetlb_cgroup.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/hugetlb_cgroup.h b/include/linux/hugetlb_cgroup.h index 0129f89cf98d..bcc853eccc85 100644 --- a/include/linux/hugetlb_cgroup.h +++ b/include/linux/hugetlb_cgroup.h @@ -16,7 +16,6 @@ #define _LINUX_HUGETLB_CGROUP_H #include <linux/mmdebug.h> -#include <linux/res_counter.h> struct hugetlb_cgroup; /* |