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:Yosry Ahmed <yosryahmed@google.com> Tested-by:
Domenico Cerasuolo <cerasuolodomenico@gmail.com> Acked-by:
Shakeel 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:
Andrew 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:
T.J. Mercier <tjmercier@google.com>
Loading
Please sign in to comment