linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] mm: add restriction when memory_hotplug config enable
@ 2016-08-01 15:00 zhongjiang
  2016-08-01 19:54 ` Andrew Morton
  0 siblings, 1 reply; 6+ messages in thread
From: zhongjiang @ 2016-08-01 15:00 UTC (permalink / raw)
  To: akpm; +Cc: linux-mm

From: zhong jiang <zhongjiang@huawei.com>

At present, It is obvious that memory online and offline will fail
when KASAN enable,  therefore, it is necessary to add the condition
to limit the memory_hotplug when KASAN enable.

Signed-off-by: zhong jiang <zhongjiang@huawei.com>
---
 mm/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/mm/Kconfig b/mm/Kconfig
index 3e2daef..f6dd77e 100644
--- a/mm/Kconfig
+++ b/mm/Kconfig
@@ -187,6 +187,7 @@ config MEMORY_HOTPLUG
 	bool "Allow for memory hot-add"
 	depends on SPARSEMEM || X86_64_ACPI_NUMA
 	depends on ARCH_ENABLE_MEMORY_HOTPLUG
+	depends on !KASAN
 
 config MEMORY_HOTPLUG_SPARSE
 	def_bool y
-- 
1.8.3.1

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2016-08-04 20:08 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-08-01 15:00 [PATCH] mm: add restriction when memory_hotplug config enable zhongjiang
2016-08-01 19:54 ` Andrew Morton
2016-08-02  1:41   ` zhong jiang
2016-08-02 10:40   ` Andrey Ryabinin
2016-08-03  5:53     ` zhong jiang
2016-08-04 20:08       ` Andrew Morton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox