[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <cover.1712132950.git.baolin.wang@linux.alibaba.com>
Date: Wed, 3 Apr 2024 16:39:08 +0800
From: Baolin Wang <baolin.wang@...ux.alibaba.com>
To: akpm@...ux-foundation.org
Cc: david@...hat.com,
mgorman@...hsingularity.net,
wangkefeng.wang@...wei.com,
jhubbard@...dia.com,
ying.huang@...el.com,
21cnbao@...il.com,
ryan.roberts@....com,
baolin.wang@...ux.alibaba.com,
linux-mm@...ck.org,
linux-kernel@...r.kernel.org
Subject: [PATCH v3 0/2] support multi-size THP numa balancing
This patchset tries to support mTHP numa balancing, as a simple solution
to start, the NUMA balancing algorithm for mTHP will follow the THP strategy
as the basic support. Please find details in each patch.
Changes from v2:
- Add reviewed tag from Huang, Ying.
- Reuse numa_rebuild_single_mapping() to remove duplicate code per Kefeng Wang.
- Remove an unnecessary vma_wants_manual_pte_write_upgrad() per Huang, Ying.
Changes from v1:
- Fix the issue where the end address might exceed the range of the
folio size, suggested by Huang, Ying.
- Simplify the folio validation.
- Add pte_modify() before checking pte writable.
- Update the performance data.
Changes from RFC v2:
- Follow the THP algorithm per Huang, Ying.
Changes from RFC v1:
- Add some preformance data per Huang, Ying.
- Allow mTHP scanning per David Hildenbrand.
- Avoid sharing mapping for numa balancing to avoid false sharing.
- Add more commit message.
Baolin Wang (2):
mm: factor out the numa mapping rebuilding into a new helper
mm: support multi-size THP numa balancing
mm/memory.c | 76 +++++++++++++++++++++++++++++++++++++++++----------
mm/mprotect.c | 3 +-
2 files changed, 63 insertions(+), 16 deletions(-)
--
2.39.3
Powered by blists - more mailing lists