]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/blobdiff - mm/Kconfig.debug
mm/page_poisoning.c: allow for zero poisoning
[mirror_ubuntu-zesty-kernel.git] / mm / Kconfig.debug
index 1f99f9a0deaeeda11ed8435856978ae75885d721..5c50b238b7705a5a4e2ce9a1845e11fc76ec4503 100644 (file)
@@ -65,3 +65,17 @@ config PAGE_POISONING_NO_SANITY
 
           If you are only interested in sanitization, say Y. Otherwise
           say N.
+
+config PAGE_POISONING_ZERO
+       bool "Use zero for poisoning instead of random data"
+       depends on PAGE_POISONING
+       ---help---
+          Instead of using the existing poison value, fill the pages with
+          zeros. This makes it harder to detect when errors are occurring
+          due to sanitization but the zeroing at free means that it is
+          no longer necessary to write zeros when GFP_ZERO is used on
+          allocation.
+
+          Enabling page poisoning with this option will disable hibernation
+
+          If unsure, say N