From 5c15e6a159be3f9715b5318839f0ac5d4736f739 Mon Sep 17 00:00:00 2001 From: "Liam R. Howlett" Date: Thu, 28 Jan 2021 15:45:27 -0500 Subject: [PATCH] maple_tree: Add menuconfig Signed-off-by: Liam R. Howlett --- include/linux/maple_tree.h | 1 - lib/Kconfig.debug | 9 +++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/include/linux/maple_tree.h b/include/linux/maple_tree.h index 7810321a35d8..142bdea3bfbc 100644 --- a/include/linux/maple_tree.h +++ b/include/linux/maple_tree.h @@ -12,7 +12,6 @@ #include #include //#define CONFIG_MAPLE_RCU_DISABLED -//#define CONFIG_DEBUG_MAPLE_TREE //#define CONFIG_DEBUG_MAPLE_TREE_VERBOSE /* diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug index c789b39ed527..5009b9982e6a 100644 --- a/lib/Kconfig.debug +++ b/lib/Kconfig.debug @@ -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 -- 2.50.1