mm: memcontrol: move socket code for unified hierarchy accounting
authorJohannes Weiner <hannes@cmpxchg.org>
Thu, 14 Jan 2016 23:21:26 +0000 (15:21 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 15 Jan 2016 00:00:49 +0000 (16:00 -0800)
commit1109208766d9fa7059a9b66ad488e66d99ce49af
treeddca91a9ba2b6ae0e3b63fad0b94b89d50cd166f
parent7941d2145abc4def5583f9d8d0b2e02647b6d1de
mm: memcontrol: move socket code for unified hierarchy accounting

The unified hierarchy memory controller will account socket memory.
Move the infrastructure functions accordingly.

Signed-off-by: Johannes Weiner <hannes@cmpxchg.org>
Acked-by: Michal Hocko <mhocko@suse.com>
Reviewed-by: Vladimir Davydov <vdavydov@virtuozzo.com>
Acked-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/memcontrol.c