Commit 70ecb3cb033f37fd5024448f809ea028fb85c28b

Authored by Joonsoo Kim
Committed by Linus Torvalds
1 parent 75069f2b5b

mm/debug_pagealloc: remove obsolete Kconfig options

These are obsolete since commit e30825f1869a ("mm/debug-pagealloc:
prepare boottime configurable") was merged.  So remove them.

[pebolle@tiscali.nl: find obsolete Kconfig options]
Signed-off-by: Joonsoo Kim <iamjoonsoo.kim@lge.com>
Cc: Paul Bolle <pebolle@tiscali.nl>
Cc: Mel Gorman <mgorman@suse.de>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Cc: Minchan Kim <minchan@kernel.org>
Cc: Dave Hansen <dave@sr71.net>
Cc: Michal Nazarewicz <mina86@mina86.com>
Cc: Jungsoo Son <jungsoo.son@lge.com>
Acked-by: David Rientjes <rientjes@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

Showing 1 changed file with 0 additions and 9 deletions Inline Diff

1 config PAGE_EXTENSION 1 config PAGE_EXTENSION
2 bool "Extend memmap on extra space for more information on page" 2 bool "Extend memmap on extra space for more information on page"
3 ---help--- 3 ---help---
4 Extend memmap on extra space for more information on page. This 4 Extend memmap on extra space for more information on page. This
5 could be used for debugging features that need to insert extra 5 could be used for debugging features that need to insert extra
6 field for every page. This extension enables us to save memory 6 field for every page. This extension enables us to save memory
7 by not allocating this extra memory according to boottime 7 by not allocating this extra memory according to boottime
8 configuration. 8 configuration.
9 9
10 config DEBUG_PAGEALLOC 10 config DEBUG_PAGEALLOC
11 bool "Debug page memory allocations" 11 bool "Debug page memory allocations"
12 depends on DEBUG_KERNEL 12 depends on DEBUG_KERNEL
13 depends on !HIBERNATION || ARCH_SUPPORTS_DEBUG_PAGEALLOC && !PPC && !SPARC 13 depends on !HIBERNATION || ARCH_SUPPORTS_DEBUG_PAGEALLOC && !PPC && !SPARC
14 depends on !KMEMCHECK 14 depends on !KMEMCHECK
15 select PAGE_EXTENSION 15 select PAGE_EXTENSION
16 select PAGE_POISONING if !ARCH_SUPPORTS_DEBUG_PAGEALLOC 16 select PAGE_POISONING if !ARCH_SUPPORTS_DEBUG_PAGEALLOC
17 select PAGE_GUARD if ARCH_SUPPORTS_DEBUG_PAGEALLOC
18 ---help--- 17 ---help---
19 Unmap pages from the kernel linear mapping after free_pages(). 18 Unmap pages from the kernel linear mapping after free_pages().
20 This results in a large slowdown, but helps to find certain types 19 This results in a large slowdown, but helps to find certain types
21 of memory corruption. 20 of memory corruption.
22 21
23 For architectures which don't enable ARCH_SUPPORTS_DEBUG_PAGEALLOC, 22 For architectures which don't enable ARCH_SUPPORTS_DEBUG_PAGEALLOC,
24 fill the pages with poison patterns after free_pages() and verify 23 fill the pages with poison patterns after free_pages() and verify
25 the patterns before alloc_pages(). Additionally, 24 the patterns before alloc_pages(). Additionally,
26 this option cannot be enabled in combination with hibernation as 25 this option cannot be enabled in combination with hibernation as
27 that would result in incorrect warnings of memory corruption after 26 that would result in incorrect warnings of memory corruption after
28 a resume because free pages are not saved to the suspend image. 27 a resume because free pages are not saved to the suspend image.
29 28
30 config WANT_PAGE_DEBUG_FLAGS
31 bool
32
33 config PAGE_POISONING 29 config PAGE_POISONING
34 bool 30 bool
35 select WANT_PAGE_DEBUG_FLAGS
36
37 config PAGE_GUARD
38 bool
39 select WANT_PAGE_DEBUG_FLAGS
40 31