v2: - For patch 2, separate v1 and v2 processing and add back the missing total_swap_pages check. - For patch 3, use union to merge swap and memsw page counters. Patch 1 removes an unused enum charge_type. Patch 2 streamlines mem_cgroup_get_max(). Patch 3 unifies swap and memsw page counters in mem_cgroup. Waiman Long (3): mm/memcg: Clean up obsolete enum charge_type mm/memcg: Simplify mem_cgroup_get_max() mm/memcg: Unify swap and memsw page counters include/linux/memcontrol.h | 13 ++++++++----- mm/memcontrol.c | 29 ++++++++--------------------- 2 files changed, 16 insertions(+), 26 deletions(-) -- 2.18.1