[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20211207224013.880775-1-npache@redhat.com>
Date: Tue, 7 Dec 2021 17:40:12 -0500
From: Nico Pache <npache@...hat.com>
To: linux-kernel@...r.kernel.org, linux-mm@...ck.org,
akpm@...ux-foundation.org
Cc: shakeelb@...gle.com, ktkhai@...tuozzo.com, shy828301@...il.com,
guro@...com, vbabka@...e.cz, vdavydov.dev@...il.com,
raquini@...hat.com, mhocko@...e.com, david@...hat.com
Subject: [PATCH v2 0/1] Dont allocate pages on a offline node
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@...hat.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
Powered by blists - more mailing lists