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 | 41555dadbff8d2558d868110e47c24b747aad224 (patch) | |
| tree | da256da889a8da46e507fd49fa84793b0036c620 /include/linux/timerqueue.h | |
| parent | 391e0efc15e9919cd74a5c29255441e1f643dcae (diff) | |
| download | cachepc-linux-41555dadbff8d2558d868110e47c24b747aad224.tar.gz cachepc-linux-41555dadbff8d2558d868110e47c24b747aad224.zip | |
mm/memcg: set memcg after css verified and got reference
Patch series "mm/memcg: some cleanup for mem_cgroup_iter()", v2.
No functional change, try to make it more readable.
This patch (of 3):
Instead of resetting memcg when css is either not verified or not got
reference, we can set it after these process.
No functional change, just simplified the code a little.
Link: https://lkml.kernel.org/r/20220330234719.18340-1-richard.weiyang@gmail.com
Link: https://lkml.kernel.org/r/20220330234719.18340-2-richard.weiyang@gmail.com
Signed-off-by: Wei Yang <richard.weiyang@gmail.com>
Acked-by: Johannes Weiner <hannes@cmpxchg.org>
Reviewed-by: Roman Gushchin <roman.gushchin@linux.dev>
Cc: Michal Hocko <mhocko@suse.com>
Cc: Shakeel Butt <shakeelb@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions
