Loading mm/Kconfig.debug +10 −0 Original line number Diff line number Diff line Loading @@ -54,6 +54,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" Loading mm/page_poison.c +2 −1 Original line number Diff line number Diff line Loading @@ -7,7 +7,8 @@ #include <linux/poison.h> #include <linux/ratelimit.h> static bool want_page_poisoning __read_mostly; static bool want_page_poisoning __read_mostly = IS_ENABLED(CONFIG_PAGE_POISONING_ENABLE_DEFAULT); static int __init early_page_poison_param(char *buf) { Loading Loading
mm/Kconfig.debug +10 −0 Original line number Diff line number Diff line Loading @@ -54,6 +54,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" Loading
mm/page_poison.c +2 −1 Original line number Diff line number Diff line Loading @@ -7,7 +7,8 @@ #include <linux/poison.h> #include <linux/ratelimit.h> static bool want_page_poisoning __read_mostly; static bool want_page_poisoning __read_mostly = IS_ENABLED(CONFIG_PAGE_POISONING_ENABLE_DEFAULT); static int __init early_page_poison_param(char *buf) { Loading