linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] support multi-size THP numa balancing
@ 2024-03-29  6:56 Baolin Wang
  2024-03-29  6:56 ` [PATCH v2 1/2] mm: factor out the numa mapping rebuilding into a new helper Baolin Wang
  2024-03-29  6:56 ` [PATCH v2 2/2] mm: support multi-size THP numa balancing Baolin Wang
  0 siblings, 2 replies; 7+ messages in thread
From: Baolin Wang @ 2024-03-29  6:56 UTC (permalink / raw)
  To: akpm
  Cc: david, mgorman, wangkefeng.wang, jhubbard, ying.huang, 21cnbao,
	ryan.roberts, baolin.wang, linux-mm, linux-kernel

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 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   | 77 +++++++++++++++++++++++++++++++++++++++++----------
 mm/mprotect.c |  3 +-
 2 files changed, 65 insertions(+), 15 deletions(-)

-- 
2.39.3



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2024-04-01  9:47 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-29  6:56 [PATCH v2 0/2] support multi-size THP numa balancing Baolin Wang
2024-03-29  6:56 ` [PATCH v2 1/2] mm: factor out the numa mapping rebuilding into a new helper Baolin Wang
2024-03-29  6:56 ` [PATCH v2 2/2] mm: support multi-size THP numa balancing Baolin Wang
2024-04-01  2:50   ` Huang, Ying
2024-04-01  9:43     ` Baolin Wang
2024-04-01  3:47   ` Kefeng Wang
2024-04-01  9:47     ` Baolin Wang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).