Re: [PATCH v21 9/9] firmware: arm_rmm: hotplug: Skip memory added to ZONE_MOVABLE
From: Gavin Shan
Date: Thu Oct 01 2026 - 09:31:45 EST
On 10/1/26 6:45 PM, Suzuki K Poulose wrote:
If the hotadded memory is in ZONE_MOVABLE, we could allow that to proceedReviewed-by: Gavin Shan <gshan@xxxxxxxxxx>
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@xxxxxxx>
Cc: David Hildenbrand (Arm) <david@xxxxxxxxxx>
Reviewed-by: Catalin Marinas <catalin.marinas@xxxxxxx>
Signed-off-by: Suzuki K Poulose <suzuki.poulose@xxxxxxx>
---
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(+)