Home
last modified time | relevance | path

Searched hist:"30943 e496f2b0a49357581af480bdcd74fb338f5" (Results 1 – 1 of 1) sorted by relevance

/qemu/system/
H A Dphysmem.c30943e496f2b0a49357581af480bdcd74fb338f5 Tue Feb 11 21:27:06 UTC 2025 William Roche <william.roche@oracle.com> system/physmem: poisoned memory discard on reboot

Repair poisoned memory location(s), calling ram_block_discard_range():
punching a hole in the backend file when necessary and regenerating
a usable memory.
If the kernel doesn't support the madvise calls used by this function
and we are dealing with anonymous memory, fall back to remapping the
location(s).

Signed-off-by: William Roche <william.roche@oracle.com>
Acked-by: David Hildenbrand <david@redhat.com>
Link: https://lore.kernel.org/r/20250211212707.302391-3-william.roche@oracle.com
Signed-off-by: Peter Xu <peterx@redhat.com>