mbox series

[v2,0/1] Dont allocate pages on a offline node

Message ID 20211207224013.880775-1-npache@redhat.com (mailing list archive)
Headers show
Series Dont allocate pages on a offline node | expand

Message

Nico Pache Dec. 7, 2021, 10:40 p.m. UTC
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(-)