Merge "mm: allow page poisoning to be enabled by default"

This commit is contained in:
qctecmdr 2019-10-12 01:44:54 -07:00 • committed by Gerrit - the friendly Code Review server
commit 635d5e56b6
2 changed files with 12 additions and 1 deletions

View file

@ -87,6 +87,16 @@ config PAGE_POISONING
If unsure, say N
config PAGE_POISONING_ENABLE_DEFAULT
bool "Enable page poisoning by default?"
default n
depends on PAGE_POISONING
help
Enable page poisoning of free pages by default? This value
can be overridden by page_poison=off|on. This can be used
to avoid passing the kernel parameter and let page poisoning
feature enabled by default.
config PAGE_POISONING_NO_SANITY
depends on PAGE_POISONING
bool "Only poison, don't sanity check"