]> 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)
commit254adcbc0d59c3fb861c35e0113e7b80d8f7745c
tree18155a07f37431fb3f2abb7b367686e71376edf3
parent589e82bfa4003055f55181c1fc68357a028d3963
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