On Fri, Jul 12, 2024 at 12:29:17AM +0200, David Hildenbrand wrote: > > I'll try to think of some corner cases we might be missing. > > Sorry that I keep coming up with corner cases :) But these should be easy to handle: Thank you for coming up with them! > We don't want to suddenly get pages that are swapbacked. > Otherwise someone could place swapbacked pages in there (using UFFDIO_MOVE) Both seem like reasonable concerns. Added to v+1. Jason