Messages in this thread | | | From | Nico Pache <> | Subject | [RFC PATCH 0/2] mm: Dont allocate pages on a offline node | Date | Sun, 5 Dec 2021 22:33:36 -0500 |
| |
Prevent page allocations from occuring on an offlined node by adding a check in _alloc_pages_node and correcting the use of for_each_node when allocating shrinkers.
The first patch is more of a defensive check while the second patch directly relates to an issue we have found during testing.
Signed-Off-by: Nico Pache <npache@redhat.com>
Nico Pache (2): include/linux/gfp.h: Do not allocate pages on a offlined node mm/vmscan.c: Prevent allocating shrinker_info on offlined nodes
include/linux/gfp.h | 5 ++++- mm/vmscan.c | 8 ++++---- 2 files changed, 8 insertions(+), 5 deletions(-)
-- 2.33.1
| |