diff options
| author | Peng Liu <[email protected]> | 2022-02-12 00:32:35 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2022-02-12 01:55:00 +0000 |
| commit | 8913c61001482378d4ed8cc577b17c1ba3e847e4 (patch) | |
| tree | 38a42b1093d0338f23d13039b38344d60d032f17 /net/unix/af_unix.c | |
| parent | mm: memcg: synchronize objcg lists with a dedicated spinlock (diff) | |
| download | kernel-8913c61001482378d4ed8cc577b17c1ba3e847e4.tar.gz kernel-8913c61001482378d4ed8cc577b17c1ba3e847e4.zip | |
kfence: make test case compatible with run time set sample interval
The parameter kfence_sample_interval can be set via boot parameter and
late shell command, which is convenient for automated tests and KFENCE
parameter optimization. However, KFENCE test case just uses
compile-time CONFIG_KFENCE_SAMPLE_INTERVAL, which will make KFENCE test
case not run as users desired. Export kfence_sample_interval, so that
KFENCE test case can use run-time-set sample interval.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Peng Liu <[email protected]>
Reviewed-by: Marco Elver <[email protected]>
Cc: Alexander Potapenko <[email protected]>
Cc: Dmitry Vyukov <[email protected]>
Cc: Jonathan Corbet <[email protected]>
Cc: Sumit Semwal <[email protected]>
Cc: Christian Knig <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
