Messages in this thread | | | Date | Mon, 6 Dec 2021 03:37:54 +0000 | From | Matthew Wilcox <> | Subject | Re: [RFC PATCH 1/2] include/linux/gfp.h: Do not allocate pages on a offlined node |
| |
On Sun, Dec 05, 2021 at 10:33:37PM -0500, Nico Pache wrote: > We shouldn't allocate pages on a unavailable node. Add a check for this > in __alloc_pages_node and return NULL to avoid issues further down the > callchain. > > Also update the VM_WARN_ON in __alloc_pages_node which could skip this > warn if the gfp_mask is not GFP_THISNODE.
Why is this not also needed in __folio_alloc_node()?
| |