]> 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)
commit64f2199389414341ed3a570663f23616c131ba25
tree18155a07f37431fb3f2abb7b367686e71376edf3
parente8ea14cc6eadfe2ea63e9989e16e62625a2619f8
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