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

2025-01-30 Thread David Hildenbrand
On 27.01.25 22:31, “William Roche wrote: From: William Roche 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

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

2025-01-27 Thread “William Roche
From: William Roche 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 Signed-off-by: Will