lkml.org 
[lkml]   [2021]   [Dec]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH v2 0/1] Dont allocate pages on a offline node
Date
Prevent page allocations from occuring on an offlined by adding a check
to confirm the node is online and if not, use the closest node. Some
further work is needed for my previous solution to be complete. This
will provide a fix to the problem while the more complete solution is
being worked on.

V2:
* drop the first patch that will introduce a regression by adding a
branch in the hotpath.
* Remove the for_each_online_nodes introduced as that will require
further work for memcg and hotplug to work correctly. Long term a
rework will be needed to either allocate all pgdatas or update all
memcgs when a new node is onlined.

Signed-off-by: Nico Pache <npache@redhat.com>

Nico Pache (1):
mm/vmscan.c: Prevent allocating shrinker_info on offlined nodes

mm/vmscan.c | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)

--
2.33.1

\
 
 \ /
  Last update: 2021-12-07 23:41    [W:0.099 / U:0.172 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site