From: Nikolai Dokutovich <ndokutovich@gmail.com>
To: David Hildenbrand <david@kernel.org>,
Andrew Morton <akpm@linux-foundation.org>
Cc: Shuah Khan <shuah@kernel.org>,
"Liam R. Howlett" <liam@infradead.org>,
Vlastimil Babka <vbabka@kernel.org>,
Mike Rapoport <rppt@kernel.org>, Michal Hocko <mhocko@suse.com>,
Xu Xin <xu.xin@linux.dev>,
linux-mm@kvack.org, linux-kselftest@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH v4 0/3] selftests/mm: skip tests when FOLL_FORCE writes are denied
Date: Tue, 01 Dec 2026 19:32:42 +0300 [thread overview]
Message-ID: <d702930d5b486dd1b8a7ec4de135e62b.ndokutovich@gmail.com> (raw)
In-Reply-To: <8484220d-2c65-4143-a798-e5d293ad1e7a@kernel.org>
Sorry about that - v4 went out before your comments on v3 reached me, and
the result is exactly the mess you describe; please ignore v4.
On v3 you asked under which circumstances the inconclusive branch is taken:
only if mmap(), open() or lseek() fail, or if write() returns anything other
than 1 or -EIO, which cannot happen on a freshly mapped anonymous page.
I'll drop that branch and reduce the comment and the commit message to the
minimum.
I'll send a single v5 with "FOLL_FORCE write not available" and wait for
review before touching the series again.
next prev parent reply other threads:[~2026-12-01 16:32 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-12-01 16:25 [PATCH v4 0/3] selftests/mm: skip tests when FOLL_FORCE writes are denied Nikolai Dokutovich
2026-12-01 16:25 ` [PATCH v4 1/3] selftests/mm: add a probe for FOLL_FORCE writes through /proc/self/mem Nikolai Dokutovich
2026-12-01 16:25 ` [PATCH v4 2/3] selftests/mm: skip the mkdirty ptrace write tests without FOLL_FORCE Nikolai Dokutovich
2026-12-01 16:27 ` [PATCH v4 0/3] selftests/mm: skip tests when FOLL_FORCE writes are denied David Hildenbrand (Arm)
2026-12-01 16:32 ` Nikolai Dokutovich [this message]
2026-12-01 16:28 ` [PATCH v4 3/3] selftests/mm: skip the ksm PROT_NONE test without FOLL_FORCE Nikolai Dokutovich
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=d702930d5b486dd1b8a7ec4de135e62b.ndokutovich@gmail.com \
--to=ndokutovich@gmail.com \
--cc=akpm@linux-foundation.org \
--cc=david@kernel.org \
--cc=liam@infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-kselftest@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=mhocko@suse.com \
--cc=rppt@kernel.org \
--cc=shuah@kernel.org \
--cc=vbabka@kernel.org \
--cc=xu.xin@linux.dev \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.