Re: what's the incompatibility between hibernation and hotplug memory

From: Jeremy Fitzhardinge
Date: Wed Mar 26 2008 - 19:33:28 EST


Rafael J. Wysocki wrote:
Generally, we might not be able to handle memory unplugged at a wrong time
(eg. after we've created the image).

Hot memory unplugging is distinct from memory hotplug.

Which part of Kconfig says that exactly?

mm/Kconfig:

config MEMORY_HOTPLUG
bool "Allow for memory hot-add"
depends on SPARSEMEM || X86_64_ACPI_NUMA
depends on HOTPLUG && !HIBERNATION && ARCH_ENABLE_MEMORY_HOTPLUG
depends on (IA64 || X86 || PPC64 || SUPERH)

comment "Memory hotplug is currently incompatible with Software Suspend"
depends on SPARSEMEM && HOTPLUG && HIBERNATION


J
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/