mbox series

[RFC,0/2] mm: Dont allocate pages on a offline node

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

Message

Nico Pache Dec. 6, 2021, 3:33 a.m. UTC
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(-)