On Tue, Oct 25, 2022 at 05:31:43PM +0200, David Hildenbrand wrote: > > -#define PTE_MARKER_UFFD_WP BIT(0) > > -#define PTE_MARKER_MASK (PTE_MARKER_UFFD_WP) > > +#define PTE_MARKER_UFFD_WP BIT(0) > > +#define PTE_MARKER_SWAP_ERROR BIT(1) > > I'd suggest to keep the term SWAPIN. An error happened during swapin, which > is why the page is corrupted. Sure thing. -- Peter Xu