]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
mm: memcontrol: flatten struct cg_proto
authorJohannes Weiner <hannes@cmpxchg.org>
Wed, 20 Jan 2016 23:02:50 +0000 (15:02 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 21 Jan 2016 01:09:18 +0000 (17:09 -0800)
commit0db1529817b7b16226421f01470c5ba982c5f302
tree435a441507f45135160c670af9d24e9681c8425c
parentd886f4e483ce63a3304adc9eda87031b93341c28
mm: memcontrol: flatten struct cg_proto

There are no more external users of struct cg_proto, flatten the
structure into struct mem_cgroup.

Since using those struct members doesn't stand out as much anymore,
add cgroup2 static branches to make it clearer which code is legacy.

Suggested-by: Vladimir Davydov <vdavydov@virtuozzo.com>
Signed-off-by: Johannes Weiner <hannes@cmpxchg.org>
Acked-by: Vladimir Davydov <vdavydov@virtuozzo.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/memcontrol.h
mm/memcontrol.c