aboutsummaryrefslogtreecommitdiffstats
path: root/lib/test_xarray.c
diff options
context:
space:
mode:
authorMarco Elver <[email protected]>2025-01-24 12:01:38 +0000
committerAndrew Morton <[email protected]>2025-02-01 11:53:26 +0000
commite64f81946adf68cd75e2207dd9a51668348a4af8 (patch)
tree7b0a03b5ca1d4e6c50a68db3deaa382d5d1bb431 /lib/test_xarray.c
parentnilfs2: fix possible int overflows in nilfs_fiemap() (diff)
downloadkernel-e64f81946adf68cd75e2207dd9a51668348a4af8.tar.gz
kernel-e64f81946adf68cd75e2207dd9a51668348a4af8.zip
kfence: skip __GFP_THISNODE allocations on NUMA systems
On NUMA systems, __GFP_THISNODE indicates that an allocation _must_ be on a particular node, and failure to allocate on the desired node will result in a failed allocation. Skip __GFP_THISNODE allocations if we are running on a NUMA system, since KFENCE can't guarantee which node its pool pages are allocated on. Link: https://lkml.kernel.org/r/[email protected] Fixes: 236e9f153852 ("kfence: skip all GFP_ZONEMASK allocations") Signed-off-by: Marco Elver <[email protected]> Reported-by: Vlastimil Babka <[email protected]> Acked-by: Vlastimil Babka <[email protected]> Cc: Christoph Lameter <[email protected]> Cc: Alexander Potapenko <[email protected]> Cc: Chistoph Lameter <[email protected]> Cc: Dmitriy Vyukov <[email protected]> Cc: <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'lib/test_xarray.c')
0 files changed, 0 insertions, 0 deletions