]> git.baikalelectronics.ru Git - kernel.git/commit
mm: memcontrol: use do_memsw_account() in a few more places
authorJohannes Weiner <hannes@cmpxchg.org>
Mon, 26 Sep 2022 13:57:03 +0000 (09:57 -0400)
committerAndrew Morton <akpm@linux-foundation.org>
Mon, 3 Oct 2022 21:03:36 +0000 (14:03 -0700)
commit1ed77b9d47beaf26cc59352ce5e76e327191bbf6
tree22e6cd78e5c0df17525698f29b27b93d64de1b61
parent1a1b2d4e2c18654067519c42cdefa44408635e7a
mm: memcontrol: use do_memsw_account() in a few more places

It's slightly more descriptive and consistent with other places that
distinguish cgroup1's combined memory+swap accounting scheme from
cgroup2's dedicated swap accounting.

Link: https://lkml.kernel.org/r/20220926135704.400818-4-hannes@cmpxchg.org
Signed-off-by: Johannes Weiner <hannes@cmpxchg.org>
Acked-by: Shakeel Butt <shakeelb@google.com>
Cc: Hugh Dickins <hughd@google.com>
Cc: Michal Hocko <mhocko@suse.com>
Cc: Roman Gushchin <roman.gushchin@linux.dev>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/memcontrol.c