|
From: | David Hildenbrand |
Subject: | Re: [PATCH v5 1/6] system/physmem: handle hugetlb correctly in qemu_ram_remap() |
Date: | Tue, 14 Jan 2025 15:02:26 +0100 |
User-agent: | Mozilla Thunderbird |
On 10.01.25 22:14, “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. When dealing with hugepages, we create a single entry for the entire page. 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> ---
See my comments to v4 version and my patch proposal. -- Cheers, David / dhildenb
[Prev in Thread] | Current Thread | [Next in Thread] |