[PATCH v21 9/9] firmware: arm_rmm: hotplug: Skip memory added to ZONE_MOVABLE
Gavin Shan
gshan at redhat.com
Thu Oct 1 06:10:19 PDT 2026
On 10/1/26 6:45 PM, Suzuki K Poulose wrote:
> If the hotadded memory is in ZONE_MOVABLE, we could allow that to proceed
> without the RMM having fine grained tracking, as we won't allocate pages
> from there for guest-memfd or kernel allocation
>
> Cc: Catalin Marinas <catalin.marinas at arm.com>
> Cc: David Hildenbrand (Arm) <david at kernel.org>
> Reviewed-by: Catalin Marinas <catalin.marinas at arm.com>
> Signed-off-by: Suzuki K Poulose <suzuki.poulose at arm.com>
> ---
> Changes since v20:
> - Use is_zone_movable_page() and only check the start_pfn
> ---
> drivers/firmware/arm_rmm/rmi.c | 11 +++++++++++
> 1 file changed, 11 insertions(+)
>
Reviewed-by: Gavin Shan <gshan at redhat.com>
More information about the linux-arm-kernel
mailing list