Re: [PATCH v3 2/3] mm: don't rely on system state to detect hot-plug operations
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- To: Laurent Dufour <ldufour@xxxxxxxxxxxxx>
- Subject: Re: [PATCH v3 2/3] mm: don't rely on system state to detect hot-plug operations
- From: Oscar Salvador <osalvador@xxxxxxx>
- Date: Tue, 15 Sep 2020 12:31:45 +0200
- Cc: akpm@xxxxxxxxxxxxxxxxxxxx, David Hildenbrand <david@xxxxxxxxxx>, mhocko@xxxxxxxx, Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>, linux-mm@xxxxxxxxx, "Rafael J . Wysocki" <rafael@xxxxxxxxxx>, nathanl@xxxxxxxxxxxxx, cheloha@xxxxxxxxxxxxx, Tony Luck <tony.luck@xxxxxxxxx>, Fenghua Yu <fenghua.yu@xxxxxxxxx>, linux-ia64@xxxxxxxxxxxxxxx, linux-kernel@xxxxxxxxxxxxxxx, stable@xxxxxxxxxxxxxxx
- In-reply-to: <20200915094143.79181-3-ldufour@linux.ibm.com>
- References: <20200915094143.79181-1-ldufour@linux.ibm.com> <20200915094143.79181-3-ldufour@linux.ibm.com>
- User-agent: Mutt/1.10.1 (2018-07-13)
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
[Index of Archives]
[Linux Kernel]
[Sparc Linux]
[DCCP]
[Linux ARM]
[Yosemite News]
[Linux SCSI]
[Linux x86_64]
[Linux for Ham Radio]