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 <quint...@redhat.com> (maintainer:Migration)
Cc: "Dr. David Alan Gilbert" <dgilb...@redhat.com> (maintainer:Migration)
Cc: Peter Xu <pet...@redhat.com>
Cc: Andrey Gruzdev <andrey.gruz...@virtuozzo.com>

@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