lkml.org 
[lkml]   [2021]   [Dec]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[RFC PATCH 0/2] mm: Dont allocate pages on a offline node
Date
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

\
 
 \ /
  Last update: 2021-12-06 04:35    [W:0.098 / U:0.084 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site