On Tue, Sep 15, 2020 at 11:41:42AM +0200, Laurent Dufour wrote: > [1] According to Oscar Salvador, using this qemu command line, ACPI memory > hotplug operations are raised at SYSTEM_SCHEDULING state: I would like to stress that this is not the only way we can end up hotplugging memor while state = SYSTEM_SCHEDULING. According to David, we can end up doing this if we reboot a VM with hotplugged memory. (And I have seen other virtualization technologies do the same) > Fixes: 4fbce633910e ("mm/memory_hotplug.c: make register_mem_sect_under_node() a callback of walk_memory_range()") > Signed-off-by: Laurent Dufour <ldufour@xxxxxxxxxxxxx> > Reviewed-by: David Hildenbrand <david@xxxxxxxxxx> > Cc: stable@xxxxxxxxxxxxxxx > Cc: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> > Cc: "Rafael J. Wysocki" <rafael@xxxxxxxxxx> > Cc: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> > Cc: Michal Hocko <mhocko@xxxxxxxx> > Cc: Oscar Salvador <osalvador@xxxxxxx> Reviewed-by: Oscar Salvador <osalvador@xxxxxxx> -- Oscar Salvador SUSE L3