On 05.01.23 13:45, David Hildenbrand wrote:
Playing with background snapshots in combination with hugetlb and
virtio-mem, I found two issues and some reasonable optimizations (skip
unprotecting when unregistering).

With virtio-mem (RamDiscardManager), we now won't be allocating unnecessary
page tables for unplugged ranges when using uffd-wp with shmem/hugetlb.

Cc: Juan Quintela <[email protected]> (maintainer:Migration)
Cc: "Dr. David Alan Gilbert" <[email protected]> (maintainer:Migration)
Cc: Peter Xu <[email protected]>
Cc: Andrey Gruzdev <[email protected]>

@Juan, David: I can take this via my tree (especially the last patch only optimized virtio-mem for now). Just let me know.

--
Thanks,

David / dhildenb


Reply via email to