On Mon, Jan 31, 2022 at 02:39:01PM -0800, Nadav Amit wrote: > > On Jan 31, 2022, at 10:47 AM, Mike Rapoport <rppt@xxxxxxxxxx> wrote: > > > > On Mon, Jan 31, 2022 at 03:41:05PM +0100, David Hildenbrand wrote: > > As for me, I decided that due to the lack of ordering, I just > cannot use the UFFD events, and I have to rely on ptrace to obtain > order of these events. I might be wrong, but any solution is not > trivial and is likely to require API changes. I think you are right and any solution that will allow userspace to track the order of all events (page faults and address space changes) will require API changes. -- Sincerely yours, Mike.