From: Jose Fernandez <jose.fernandez@linux.dev>
To: "David Hildenbrand (Arm)" <david@kernel.org>
Cc: "Matthew Wilcox (Oracle)" <willy@infradead.org>,
Jan Kara <jack@suse.cz>,
Andrew Morton <akpm@linux-foundation.org>,
linux-fsdevel@vger.kernel.org, linux-mm@kvack.org,
linux-kernel@vger.kernel.org,
Krystian Kaniewski <krystianmkaniewski@gmail.com>
Subject: Re: [PATCH] mm/filemap: stop fault-around when the walk steps back
Date: Sat, 31 Oct 2026 04:33:06 +0000 [thread overview]
Message-ID: <20261031-jf-mm-filemap-reply-r2-7d4c1e9ab350@linux.dev> (raw)
In-Reply-To: <0a1ad7d2-ff0e-4248-8f03-2a64a9134aae@kernel.org>
On Thu, Oct 29, 2026 David Hildenbrand (Arm) wrote:
> Only read or also write? I assume only read.
Both. KASAN only reports the read, but once vmf->pte has stepped
outside the page table the loop will also call set_pte_range() on
that slot if it reads as pte_none(), so a stray write is possible
too. I'll call that out in the v2 changelog.
> Sounds like we want a Fixes: tag and Cc: stable? :)
Yes, v2 will carry both.
- Jose
prev parent reply other threads:[~2026-10-31 4:33 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-29 15:50 [PATCH] mm/filemap: stop fault-around when the walk steps back Jose Fernandez (Anthropic)
2026-10-29 19:26 ` David Hildenbrand (Arm)
2026-10-31 4:33 ` Jose Fernandez [this message]
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=20261031-jf-mm-filemap-reply-r2-7d4c1e9ab350@linux.dev \
--to=jose.fernandez@linux.dev \
--cc=akpm@linux-foundation.org \
--cc=david@kernel.org \
--cc=jack@suse.cz \
--cc=krystianmkaniewski@gmail.com \
--cc=linux-fsdevel@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=willy@infradead.org \
/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