From: Peter Xu <peterx@redhat.com>
To: David Hildenbrand <david@redhat.com>
Cc: linux-kernel@vger.kernel.org, linux-mm@kvack.org,
Huang Ying <ying.huang@intel.com>,
Andrew Morton <akpm@linux-foundation.org>,
HORIGUCHI NAOYA <naoya.horiguchi@nec.com>,
Miaohe Lin <linmiaohe@huawei.com>,
Andrea Arcangeli <aarcange@redhat.com>
Subject: Re: [PATCH RFC 2/2] mm: Use pte markers for swap errors
Date: Tue, 25 Oct 2022 11:44:42 -0400 [thread overview]
Message-ID: <Y1gEapirqtJACeK/@x1n> (raw)
In-Reply-To: <d0b8384b-6699-0485-1d39-afbf598a34e9@redhat.com>
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
next prev parent reply other threads:[~2022-10-25 15:44 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-10-24 20:48 [PATCH RFC 0/2] mm: Use pte marker for swapin errors Peter Xu
2022-10-24 20:48 ` [PATCH RFC 1/2] mm: Always compile in pte markers Peter Xu
2022-10-29 2:35 ` Miaohe Lin
2022-10-24 20:48 ` [PATCH RFC 2/2] mm: Use pte markers for swap errors Peter Xu
2022-10-25 15:31 ` David Hildenbrand
2022-10-25 15:44 ` Peter Xu [this message]
2022-10-29 2:49 ` Miaohe Lin
2022-10-25 3:01 ` [PATCH RFC 0/2] mm: Use pte marker for swapin errors Huang, Ying
2022-10-25 15:08 ` Peter Xu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Y1gEapirqtJACeK/@x1n \
--to=peterx@redhat.com \
--cc=aarcange@redhat.com \
--cc=akpm@linux-foundation.org \
--cc=david@redhat.com \
--cc=linmiaohe@huawei.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=naoya.horiguchi@nec.com \
--cc=ying.huang@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).