2014-12-23 04:49:38

by Joonsoo Kim

[permalink] [raw]
Subject: [PATCH] mm/debug_pagealloc: remove obsolete Kconfig options

These are obsolete since commit e30825f1869a ("mm/debug-pagealloc:
prepare boottime configurable on/off") is merged. Remove them.

Reported-by: Paul Bolle <[email protected]>
Signed-off-by: Joonsoo Kim <[email protected]>
---
mm/Kconfig.debug | 9 ---------
1 file changed, 9 deletions(-)

diff --git a/mm/Kconfig.debug b/mm/Kconfig.debug
index 56badfc..957d3da 100644
--- a/mm/Kconfig.debug
+++ b/mm/Kconfig.debug
@@ -14,7 +14,6 @@ config DEBUG_PAGEALLOC
depends on !KMEMCHECK
select PAGE_EXTENSION
select PAGE_POISONING if !ARCH_SUPPORTS_DEBUG_PAGEALLOC
- select PAGE_GUARD if ARCH_SUPPORTS_DEBUG_PAGEALLOC
---help---
Unmap pages from the kernel linear mapping after free_pages().
This results in a large slowdown, but helps to find certain types
@@ -27,13 +26,5 @@ config DEBUG_PAGEALLOC
that would result in incorrect warnings of memory corruption after
a resume because free pages are not saved to the suspend image.

-config WANT_PAGE_DEBUG_FLAGS
- bool
-
config PAGE_POISONING
bool
- select WANT_PAGE_DEBUG_FLAGS
-
-config PAGE_GUARD
- bool
- select WANT_PAGE_DEBUG_FLAGS
--
1.7.9.5


2014-12-30 00:32:24

by David Rientjes

[permalink] [raw]
Subject: Re: [PATCH] mm/debug_pagealloc: remove obsolete Kconfig options

On Tue, 23 Dec 2014, Joonsoo Kim wrote:

> These are obsolete since commit e30825f1869a ("mm/debug-pagealloc:
> prepare boottime configurable on/off") is merged. Remove them.
>
> Reported-by: Paul Bolle <[email protected]>
> Signed-off-by: Joonsoo Kim <[email protected]>

Acked-by: David Rientjes <[email protected]>