Commit 84b2003d authored by Yosry Ahmed's avatar Yosry Ahmed Committed by Carlos Llamas
Browse files

BACKPORT: mm: memcg: move vmstats structs definition above flushing code

The following patch will make use of those structs in the flushing code,
so move their definitions (and a few other dependencies) a little bit up
to reduce the diff noise in the following patch.

No functional change intended.

Link: https://lkml.kernel.org/r/20231129032154.3710765-3-yosryahmed@google.com


Change-Id: I823689b286e7336dd61e2468af02b00e488bfd25
Signed-off-by: default avatarYosry Ahmed <yosryahmed@google.com>
Tested-by: default avatarDomenico Cerasuolo <cerasuolodomenico@gmail.com>
Acked-by: default avatarShakeel Butt <shakeelb@google.com>
Cc: Chris Li <chrisl@kernel.org>
Cc: Greg Thelen <gthelen@google.com>
Cc: Ivan Babrou <ivan@cloudflare.com>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Cc: Michal Hocko <mhocko@kernel.org>
Cc: Michal Koutny <mkoutny@suse.com>
Cc: Muchun Song <muchun.song@linux.dev>
Cc: Roman Gushchin <roman.gushchin@linux.dev>
Cc: Tejun Heo <tj@kernel.org>
Cc: Waiman Long <longman@redhat.com>
Cc: Wei Xu <weixugc@google.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
(cherry picked from commit e0bf1dc8)
[TJ: ZSWPWB, THP_SWPOUT, THP_SWPOUT_FALLBACK are not in our
memcg_vm_event_stat list on this branch]
Bug: 322544714
Signed-off-by: default avatarT.J. Mercier <tjmercier@google.com>
parent 01d12c8b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment