mbox series

[v2,0/3] mm/memcg: some cleanup for mem_cgroup_iter()

Message ID 20220330234719.18340-1-richard.weiyang@gmail.com (mailing list archive)
Headers show
Series mm/memcg: some cleanup for mem_cgroup_iter() | expand

Message

Wei Yang March 30, 2022, 11:47 p.m. UTC
No functional change, try to make it more readable.

v2: some adjustment as suggested by Johannes 

Wei Yang (3):
  mm/memcg: set memcg after css verified and got reference
  mm/memcg: set pos explicitly for reclaim and !reclaim
  mm/memcg: move generation assignment and comparison together

 mm/memcontrol.c | 26 ++++++++++++--------------
 1 file changed, 12 insertions(+), 14 deletions(-)