lkml.org 
[lkml]   [2022]   [Oct]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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

\
 
 \ /
  Last update: 2022-10-25 17:46    [W:0.070 / U:0.264 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site