lkml.org 
[lkml]   [2021]   [Nov]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH v2 0/2] Support multiple target nodes demotion
Date
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

\
 
 \ /
  Last update: 2021-11-11 08:49    [W:1.137 / U:0.140 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site