cgroups.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/3] mm/memcg: Miscellaneous cleanups and streamlining
@ 2020-09-14  2:44 Waiman Long
  2020-09-14  2:44 ` [PATCH v2 1/3] mm/memcg: Clean up obsolete enum charge_type Waiman Long
       [not found] ` <20200914024452.19167-1-longman-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
  0 siblings, 2 replies; 17+ messages in thread
From: Waiman Long @ 2020-09-14  2:44 UTC (permalink / raw)
  To: Johannes Weiner, Michal Hocko, Vladimir Davydov, Andrew Morton,
	Tejun Heo
  Cc: linux-kernel-u79uwXL29TY76Z2rM5mHXA,
	cgroups-u79uwXL29TY76Z2rM5mHXA, linux-mm-Bw31MaZKKs3YtjvyW6yDsg,
	Shakeel Butt, Chris Down, Roman Gushchin, Yafang Shao,
	Waiman Long

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


^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2020-09-14 21:32 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-09-14  2:44 [PATCH v2 0/3] mm/memcg: Miscellaneous cleanups and streamlining Waiman Long
2020-09-14  2:44 ` [PATCH v2 1/3] mm/memcg: Clean up obsolete enum charge_type Waiman Long
     [not found]   ` <20200914024452.19167-2-longman-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2020-09-14 11:37     ` Michal Hocko
     [not found] ` <20200914024452.19167-1-longman-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2020-09-14  2:44   ` [PATCH v2 2/3] mm/memcg: Simplify mem_cgroup_get_max() Waiman Long
     [not found]     ` <20200914024452.19167-3-longman-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2020-09-14 11:48       ` Michal Hocko
     [not found]         ` <20200914114825.GM16999-2MMpYkNvuYDjFM9bn6wA6Q@public.gmane.org>
2020-09-14 13:51           ` Waiman Long
     [not found]             ` <e8ddc443-b56a-1dd6-6d41-ad217e9aea80-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2020-09-14 21:29               ` Johannes Weiner
2020-09-14 21:32                 ` Johannes Weiner
2020-09-14  2:44   ` [PATCH v2 3/3] mm/memcg: Unify swap and memsw page counters Waiman Long
2020-09-14 11:54     ` Michal Hocko
     [not found]     ` <20200914024452.19167-4-longman-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2020-09-14 15:37       ` Shakeel Butt
2020-09-14 14:19   ` [PATCH v3 2/3] mm/memcg: Simplify mem_cgroup_get_max() Waiman Long
2020-09-14 14:47     ` Michal Hocko
2020-09-14 14:58       ` Waiman Long
2020-09-14 15:09   ` [PATCH v4 " Waiman Long
     [not found]     ` <20200914150928.7841-1-longman-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2020-09-14 15:18       ` Michal Hocko
2020-09-14 15:36       ` Shakeel Butt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).