Messages in this thread | | | Date | Tue, 25 Oct 2022 11:44:42 -0400 | From | Peter Xu <> | Subject | Re: [PATCH RFC 2/2] mm: Use pte markers for swap errors |
| |
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
| |