Lines Matching +full:use +full:- +full:guard +full:- +full:pages
1 # SPDX-License-Identifier: GPL-2.0-only
7 bool "KFENCE: low-overhead sampling-based memory safety error detector"
12 KFENCE is a low-overhead sampling-based detector of heap out-of-bounds
13 access, use-after-free, and invalid-free errors. KFENCE is designed
17 See <file:Documentation/dev-tools/kfence.rst> for more details.
22 afford to use KASAN, continue using KASAN, for example in test
23 environments. If your kernel targets production use, and cannot
37 setting "kfence.sample_interval" to a non-zero value enables KFENCE.
45 pages are required; with one containing the object and two adjacent
46 ones used as guard pages.
49 bool "Use a deferrable timer to trigger allocations"
51 Use a deferrable timer to trigger allocations. This avoids forcing
52 CPU wake-ups if the system is idle, at the risk of a less predictable
55 Warning: The KUnit test suite fails with this option enabled - due to
61 bool "Use static keys to set up allocations" if EXPERT
64 Use static keys (static branches) to set up KFENCE allocations. This
68 Using static keys comes with trade-offs that need to be carefully
80 pages, resulting in spurious use-after-frees. The main purpose of