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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx>

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





[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux