| From | Andi Kleen <> | Subject | [PATCH] [14/16] HWPOISON: FOR TESTING: Enable memory failure code unconditionally | Date | Wed, 3 Jun 2009 20:46:49 +0200 (CEST) |
| |
Normally the memory-failure.c code is enabled by the architecture, but for easier testing independent of architecture changes enable it unconditionally.
This should not be merged into mainline.
Signed-off-by: Andi Kleen <ak@linux.intel.com>
--- mm/Kconfig | 2 ++ 1 file changed, 2 insertions(+)
Index: linux/mm/Kconfig =================================================================== --- linux.orig/mm/Kconfig 2009-06-03 20:30:32.000000000 +0200 +++ linux/mm/Kconfig 2009-06-03 20:39:48.000000000 +0200 @@ -222,6 +222,8 @@ config MEMORY_FAILURE bool + default y + depends on MMU config NOMMU_INITIAL_TRIM_EXCESS int "Turn on mmap() excess space trimming before booting"
|