Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1405530

[PATCH] mm: make CONFIG_DEFERRED_STRUCT_PAGE_INIT depends on !FLATMEM explicitly

From Yang Shi <yang.shi@linaro.org>
Newsgroups linux.kernel
Subject [PATCH] mm: make CONFIG_DEFERRED_STRUCT_PAGE_INIT depends on !FLATMEM explicitly
Date 2016-05-23 19:30 +0200
Message-ID <rC1PX-k3-1@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


Per the suggestion from Michal Hocko [1], CONFIG_DEFERRED_STRUCT_PAGE_INIT
should be incompatible with FLATMEM, make this explicitly in Kconfig.

[1] http://lkml.kernel.org/r/20160523073157.GD2278@dhcp22.suse.cz

Signed-off-by: Yang Shi <yang.shi@linaro.org>
---
 mm/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/mm/Kconfig b/mm/Kconfig
index 2664c11..22fa818 100644
--- a/mm/Kconfig
+++ b/mm/Kconfig
@@ -649,6 +649,7 @@ config DEFERRED_STRUCT_PAGE_INIT
 	default n
 	depends on ARCH_SUPPORTS_DEFERRED_STRUCT_PAGE_INIT
 	depends on MEMORY_HOTPLUG
+	depends on !FLATMEM
 	help
 	  Ordinarily all struct pages are initialised during early boot in a
 	  single thread. On very large machines this can take a considerable
-- 
2.0.2

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[PATCH] mm: make CONFIG_DEFERRED_STRUCT_PAGE_INIT depends on !FLATMEM explicitly Yang Shi <yang.shi@linaro.org> - 2016-05-23 19:30 +0200
  Re: [PATCH] mm: make CONFIG_DEFERRED_STRUCT_PAGE_INIT depends on  !FLATMEM explicitly Michal Hocko <mhocko@kernel.org> - 2016-05-23 20:30 +0200
    Re: [PATCH] mm: make CONFIG_DEFERRED_STRUCT_PAGE_INIT depends on  !FLATMEM explicitly "Shi, Yang" <yang.shi@linaro.org> - 2016-05-23 20:40 +0200

csiph-web