mbox series

[0/3] mm/memcg: Miscellaneous cleanups and streamlining

Message ID 20200820130350.3211-1-longman@redhat.com (mailing list archive)
Headers show
Series mm/memcg: Miscellaneous cleanups and streamlining | expand

Message

Waiman Long Aug. 20, 2020, 1:03 p.m. UTC
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 |  3 +--
 mm/memcontrol.c            | 30 ++++++++++--------------------
 2 files changed, 11 insertions(+), 22 deletions(-)