]> Gentwo Git Trees - linux/.git/commit
KFENCE: Clarify that sample allocations are not following NUMA or memory policies sent/20250123-kfence_doc_update-93b4576c25bb-v1
authorChristoph Lameter <cl@linux.com>
Thu, 23 Jan 2025 22:34:40 +0000 (14:34 -0800)
committerChristoph Lameter <cl@gentwo.org>
Thu, 23 Jan 2025 22:44:41 +0000 (14:44 -0800)
commit82ee364687e793377068f687102bed74a9853d28
tree69433522bdef1c720d5992e21f122205aa39cf20
parentd0d106a2bd21499901299160744e5fe9f4c83ddb
KFENCE: Clarify that sample allocations are not following NUMA or memory policies

KFENCE manages its own pools and redirects regular memory allocations
to those pools in a sporadic way. The usual memory allocator features
like NUMA, memory policies and pfmemalloc are not supported.
This means that one gets surprising object placement with KFENCE that
may impact performance on some NUMA systems.

Update the description and make KFENCE depend on VM debugging
having been enabled.

Signed-off-by: Christoph Lameter <cl@linux.com>
Documentation/dev-tools/kfence.rst
lib/Kconfig.kfence