[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Y1gEapirqtJACeK/@x1n>
Date: Tue, 25 Oct 2022 11:44:42 -0400
From: Peter Xu <peterx@...hat.com>
To: David Hildenbrand <david@...hat.com>
Cc: linux-kernel@...r.kernel.org, linux-mm@...ck.org,
Huang Ying <ying.huang@...el.com>,
Andrew Morton <akpm@...ux-foundation.org>,
HORIGUCHI NAOYA <naoya.horiguchi@....com>,
Miaohe Lin <linmiaohe@...wei.com>,
Andrea Arcangeli <aarcange@...hat.com>
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
Powered by blists - more mailing lists