diff options
author | Wei Yang <richard.weiyang@gmail.com> | 2022-04-28 23:15:58 -0700 |
---|---|---|
committer | akpm <akpm@linux-foundation.org> | 2022-04-28 23:15:58 -0700 |
commit | 89d8330ccf2ad4c0744e1d1b77ffe2deb1641e54 (patch) | |
tree | 40823f5f2da18f6b43be84be16afcb88e7c7e843 /virt | |
parent | 41555dadbff8d2558d868110e47c24b747aad224 (diff) | |
download | linux-89d8330ccf2ad4c0744e1d1b77ffe2deb1641e54.tar.bz2 |
mm/memcg: set pos explicitly for reclaim and !reclaim
During mem_cgroup_iter, there are two ways to get iteration position:
reclaim vs non-reclaim mode.
Let's do it explicitly for reclaim vs non-reclaim mode.
Link: https://lkml.kernel.org/r/20220330234719.18340-3-richard.weiyang@gmail.com
Signed-off-by: Wei Yang <richard.weiyang@gmail.com>
Reviewed-by: Roman Gushchin <roman.gushchin@linux.dev>
Acked-by: Johannes Weiner <hannes@cmpxchg.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions