]> git.baikalelectronics.ru Git - kernel.git/commit
mm: memcontrol: remove obsolete kmemcg pinning tricks
authorJohannes Weiner <hannes@cmpxchg.org>
Wed, 10 Dec 2014 23:42:45 +0000 (15:42 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 11 Dec 2014 01:41:05 +0000 (17:41 -0800)
commit441119e13e027123b3cb6e372876cf611ac077c8
tree18155a07f37431fb3f2abb7b367686e71376edf3
parent571987223af3a9fb7723e8573fda0b1ceece3720
mm: memcontrol: remove obsolete kmemcg pinning tricks

As charges now pin the css explicitely, there is no more need for kmemcg
to acquire a proxy reference for outstanding pages during offlining, or
maintain state to identify such "dead" groups.

This was the last user of the uncharge functions' return values, so remove
them 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: David Rientjes <rientjes@google.com>
Cc: Tejun Heo <tj@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/page_counter.h
mm/memcontrol.c
mm/page_counter.c