]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
maple_tree: Add menuconfig
authorLiam R. Howlett <Liam.Howlett@Oracle.com>
Thu, 28 Jan 2021 20:45:27 +0000 (15:45 -0500)
committerLiam R. Howlett <Liam.Howlett@Oracle.com>
Thu, 28 Jan 2021 20:47:04 +0000 (15:47 -0500)
Signed-off-by: Liam R. Howlett <Liam.Howlett@Oracle.com>
include/linux/maple_tree.h
lib/Kconfig.debug

index 7810321a35d8ef7d99c26be488adb40efe9e4cd8..142bdea3bfbcfb9192b5be1142e9fe2505655729 100644 (file)
@@ -12,7 +12,6 @@
 #include <linux/rcupdate.h>
 #include <linux/spinlock.h>
 //#define CONFIG_MAPLE_RCU_DISABLED
-//#define CONFIG_DEBUG_MAPLE_TREE
 //#define CONFIG_DEBUG_MAPLE_TREE_VERBOSE
 
 /*
index c789b39ed527173219adefcca72f0f7778d15aa2..5009b9982e6a9fe30322e899005fe7941fdeff99 100644 (file)
@@ -760,6 +760,15 @@ config DEBUG_VM_RB
 
          If unsure, say N.
 
+
+config DEBUG_MAPLE_TREE
+       bool "Debug VM maple trees"
+       depends on DEBUG_VM
+       help
+         Enable VM maple tree debugging information and extra validations.
+
+         If unsure, say N.
+
 config DEBUG_VM_PGFLAGS
        bool "Debug page-flags operations"
        depends on DEBUG_VM