Set KFENCE_SAMPLE_INTERVAL to 0
Turns off KFENCE by default, as requested by Levente. There are power use issues, see https://lore.kernel.org/linux-mm/20210421105132.3965998-1-elver@google.com/
This commit is contained in:
parent
1646eced3b
commit
2a8704f5e1
2
PKGBUILD
2
PKGBUILD
|
@ -25,7 +25,7 @@ validpgpkeys=(
|
||||||
'A2FF3A36AAA56654109064AB19802F8B0D70FC30' # Jan Alexander Steffens (heftig)
|
'A2FF3A36AAA56654109064AB19802F8B0D70FC30' # Jan Alexander Steffens (heftig)
|
||||||
)
|
)
|
||||||
sha256sums=('SKIP'
|
sha256sums=('SKIP'
|
||||||
'2f43f36dde6a64fbd812dd7f65cb9ab18fbf822089e9e8fb14bca7ded5e3d4af')
|
'55c4cb76754b1db234a0994806106d8481c171d4e3fead12793f0083a48511d4')
|
||||||
|
|
||||||
export KBUILD_BUILD_HOST=archlinux
|
export KBUILD_BUILD_HOST=archlinux
|
||||||
export KBUILD_BUILD_USER=$pkgbase
|
export KBUILD_BUILD_USER=$pkgbase
|
||||||
|
|
2
config
2
config
|
@ -10219,7 +10219,7 @@ CONFIG_CC_HAS_WORKING_NOSANITIZE_ADDRESS=y
|
||||||
CONFIG_HAVE_ARCH_KFENCE=y
|
CONFIG_HAVE_ARCH_KFENCE=y
|
||||||
CONFIG_KFENCE=y
|
CONFIG_KFENCE=y
|
||||||
CONFIG_KFENCE_STATIC_KEYS=y
|
CONFIG_KFENCE_STATIC_KEYS=y
|
||||||
CONFIG_KFENCE_SAMPLE_INTERVAL=100
|
CONFIG_KFENCE_SAMPLE_INTERVAL=0
|
||||||
CONFIG_KFENCE_NUM_OBJECTS=255
|
CONFIG_KFENCE_NUM_OBJECTS=255
|
||||||
CONFIG_KFENCE_STRESS_TEST_FAULTS=0
|
CONFIG_KFENCE_STRESS_TEST_FAULTS=0
|
||||||
# end of Memory Debugging
|
# end of Memory Debugging
|
||||||
|
|
Loading…
Reference in New Issue