Re: [PATCH v6 1/6] system/physmem: handle hugetlb correctly in qemu_ram_remap()

David Hildenbrand
2025-01-30T10:05:39Z

On 27.01.25 22:31, “William Roche wrote:
> From: William Roche <william.roche@oracle.com>
>
> The list of hwpoison pages used to remap the memory on reset
> is based on the backend real page size.
> To correctly handle hugetlb, we must mmap(MAP_FIXED) a complete
> hugetlb page; hugetlb pages cannot be partially mapped.
>
> Co-developed-by: David Hildenbrand <david@redhat.com>
> Signed-off-by: William Roche <william.roche@oracle.com>
> ---

Acked-by: David Hildenbrand <david@redhat.com>

--
Cheers,

David / dhildenb