[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240724202103.1210065-1-roman.gushchin@linux.dev>
Date: Wed, 24 Jul 2024 20:20:58 +0000
From: Roman Gushchin <roman.gushchin@...ux.dev>
To: Andrew Morton <akpm@...ux-foundation.org>
Cc: linux-mm@...ck.org,
linux-kernel@...r.kernel.org,
Johannes Weiner <hannes@...xchg.org>,
Michal Hocko <mhocko@...nel.org>,
Shakeel Butt <shakeel.butt@...ux.dev>,
Muchun Song <muchun.song@...ux.dev>,
Roman Gushchin <roman.gushchin@...ux.dev>
Subject: [PATCH v2 0/5] This patchset reorganizes page_counter structures which helps to make
v2:
- two page_counter structures per hugetlb cgroup instead of one
- rebased to the current mm branch
- many minor fixes and improvements
v1:
https://lore.kernel.org/lkml/20240503201835.2969707-1-roman.gushchin@linux.dev/T/#m77151ed83451a49132e29ef13d55e08b95ac867f
Roman Gushchin (5):
mm: memcg: don't call propagate_protected_usage() needlessly
mm: page_counters: put page_counter_calculate_protection() under
CONFIG_MEMCG
mm: memcg: merge multiple page_counters into a single structure
mm: page_counters: initialize usage using ATOMIC_LONG_INIT() macro
mm: memcg: convert enum res_type to mem_counter_type
include/linux/hugetlb.h | 4 +-
include/linux/hugetlb_cgroup.h | 8 +-
include/linux/memcontrol.h | 19 +--
include/linux/page_counter.h | 128 ++++++++++++++++----
mm/hugetlb.c | 14 +--
mm/hugetlb_cgroup.c | 150 +++++++++--------------
mm/memcontrol-v1.c | 154 ++++++++++--------------
mm/memcontrol-v1.h | 10 +-
mm/memcontrol.c | 211 ++++++++++++++++-----------------
mm/page_counter.c | 94 +++++++++------
10 files changed, 403 insertions(+), 389 deletions(-)
--
2.46.0.rc1.232.g9752f9e123-goog
Powered by blists - more mailing lists