summaryrefslogtreecommitdiff
path: root/drivers/media/i2c/ccs/ccs-data.c
diff options
context:
space:
mode:
authorMarco Elver <elver@google.com>2025-01-24 13:01:38 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-02-17 10:05:31 +0100
commit2a54e8f1187cf839091e76c30dcb0a956b9722c3 (patch)
treeb523978f67acde77cf33ed8ba6f7e3a27f4a3ad2 /drivers/media/i2c/ccs/ccs-data.c
parent7caf6c4bc25ac6cf588c6ceacba7ee4a15f81f8b (diff)
kfence: skip __GFP_THISNODE allocations on NUMA systems
commit e64f81946adf68cd75e2207dd9a51668348a4af8 upstream. 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/20250124120145.410066-1-elver@google.com Fixes: 236e9f153852 ("kfence: skip all GFP_ZONEMASK allocations") Signed-off-by: Marco Elver <elver@google.com> Reported-by: Vlastimil Babka <vbabka@suse.cz> Acked-by: Vlastimil Babka <vbabka@suse.cz> Cc: Christoph Lameter <cl@linux.com> Cc: Alexander Potapenko <glider@google.com> Cc: Chistoph Lameter <cl@linux.com> Cc: Dmitriy Vyukov <dvyukov@google.com> Cc: <stable@vger.kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/media/i2c/ccs/ccs-data.c')
0 files changed, 0 insertions, 0 deletions