linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] Support multiple target nodes demotion
@ 2021-11-11  7:48 Baolin Wang
  2021-11-11  7:48 ` [PATCH v2 1/2] mm: migrate: " Baolin Wang
  2021-11-11  7:48 ` [PATCH v2 2/2] mm: migrate: Allocate the node_demotion structure dynamically Baolin Wang
  0 siblings, 2 replies; 8+ messages in thread
From: Baolin Wang @ 2021-11-11  7:48 UTC (permalink / raw)
  To: akpm, ying.huang, dave.hansen
  Cc: ziy, osalvador, shy828301, baolin.wang, zhongjiang-ali, xlpang,
	linux-mm, linux-kernel

Hi,

This patch set is used to support multiple target nodes demotion
if a system has multiple slow memory nodes. Please help to review.
Thanks.

Changes from v1:
 - Add a new patch to allocate the node_demotion dynamically.
 - Update some comments.
 - Simplify some variables' name.

Changes from RFC v2:
 - Change to 'short' type for target nodes array.
 - Remove nodemask instead selecting target node directly.
 - Add WARN_ONCE() if the target nodes exceed the maximum value.

Changes from RFC v1:
 - Re-define the node_demotion structure.
 - Set up multiple target nodes by validating the node distance.
 - Add more comments.

Baolin Wang (2):
  mm: migrate: Support multiple target nodes demotion
  mm: migrate: Allocate the node_demotion structure dynamically

 mm/migrate.c | 158 +++++++++++++++++++++++++++++++++++++++++++++--------------
 1 file changed, 122 insertions(+), 36 deletions(-)

-- 
1.8.3.1


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

end of thread, other threads:[~2021-11-11 23:39 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-11  7:48 [PATCH v2 0/2] Support multiple target nodes demotion Baolin Wang
2021-11-11  7:48 ` [PATCH v2 1/2] mm: migrate: " Baolin Wang
2021-11-11  8:20   ` Huang, Ying
2021-11-11 10:52     ` Baolin Wang
2021-11-11  7:48 ` [PATCH v2 2/2] mm: migrate: Allocate the node_demotion structure dynamically Baolin Wang
2021-11-11  8:51   ` Huang, Ying
2021-11-11 11:20     ` Baolin Wang
2021-11-11 23:39       ` Huang, Ying

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).