mm: hugetlb_cgroup: convert to lockless page counters
authorJohannes Weiner <hannes@cmpxchg.org>
Wed, 10 Dec 2014 23:42:34 +0000 (15:42 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 11 Dec 2014 01:41:04 +0000 (17:41 -0800)
commit71f87bee38edddb21d97895fa938744cf3f477bb
tree036178cbc751f0c98c4a25eb1742ef4ec6d3c580
parent3e32cb2e0a12b6915056ff04601cf1bb9b44f967
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>
Documentation/cgroups/hugetlb.txt
include/linux/hugetlb_cgroup.h
init/Kconfig
mm/hugetlb_cgroup.c