mbox series

[0/2] support multi-size THP numa balancing

Message ID cover.1711453317.git.baolin.wang@linux.alibaba.com (mailing list archive)
Headers show
Series support multi-size THP numa balancing | expand

Message

Baolin Wang March 26, 2024, 11:51 a.m. UTC
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 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, 64 insertions(+), 15 deletions(-)