]> git.baikalelectronics.ru Git - kernel.git/commit
mm: disable CONFIG_MEMORY_HOTPLUG when KASAN is enabled
authorzhong jiang <zhongjiang@huawei.com>
Thu, 4 Aug 2016 22:31:44 +0000 (15:31 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 5 Aug 2016 00:02:09 +0000 (20:02 -0400)
commit80386f03185d68cbc3902a60e4e9a644ce29f8d4
tree49c2fa0cc487159119004f2dbb080c067eed0aca
parentdfac625d3f6c871450fdc810df5928dfe9ea96cb
mm: disable CONFIG_MEMORY_HOTPLUG when KASAN is enabled

At present it is obvious that memory online and offline will fail when
KASAN is enabled.  So add the condition to limit the memory_hotplug when
KASAN is enabled.

Link: http://lkml.kernel.org/r/1470063651-29519-1-git-send-email-zhongjiang@huawei.com
Signed-off-by: zhong jiang <zhongjiang@huawei.com>
Cc: Andrey Ryabinin <aryabinin@virtuozzo.com>
Cc: Alexander Potapenko <glider@google.com>
Cc: Dmitry Vyukov <dvyukov@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/Kconfig