Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Allow KASAN and HOTPLUG_MEMORY to co-exist when doing build testing

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 9db4f36e82c2 ("mm: remove unused
variable in memory hotplug") in the future.

Cc: Stephen Rothwell <sfr@canb.auug.org.au>
Cc: Andrey Ryabinin <aryabinin@virtuozzo.com>
Cc: Alexander Potapenko <glider@google.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

+1 -1
+1 -1
mm/Kconfig
··· 187 187 bool "Allow for memory hot-add" 188 188 depends on SPARSEMEM || X86_64_ACPI_NUMA 189 189 depends on ARCH_ENABLE_MEMORY_HOTPLUG 190 - depends on !KASAN 190 + depends on COMPILE_TEST || !KASAN 191 191 192 192 config MEMORY_HOTPLUG_SPARSE 193 193 def_bool y