]> git.baikalelectronics.ru Git - kernel.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)
commitd72b61d427c6c0a5e6278ca560b891086e39292d
tree435a441507f45135160c670af9d24e9681c8425c
parent88b64f72c912d1626d11dc804591d99044dbd82c
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