Skip to content

Commit

Permalink
Allow KASAN and HOTPLUG_MEMORY to co-exist when doing build testing
Browse files Browse the repository at this point in the history
No, KASAN may not be able to co-exist with HOTPLUG_MEMORY at runtime,
but for build testing there is no reason not to allow them together.

This hopefully means better build coverage and fewer embarrasing silly
problems like the one fixed by commit 9db4f36 ("mm: remove unused
variable in memory hotplug") in the future.

Cc: Stephen Rothwell <[email protected]>
Cc: Andrey Ryabinin <[email protected]>
Cc: Alexander Potapenko <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
torvalds committed Oct 27, 2016
1 parent 9db4f36 commit 67463e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mm/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +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
depends on COMPILE_TEST || !KASAN

config MEMORY_HOTPLUG_SPARSE
def_bool y
Expand Down

0 comments on commit 67463e5

Please sign in to comment.