From: David Hildenbrand <david@kernel.org>
To: David Hildenbrand <david@kernel.org>,
Andrew Morton <akpm@linux-foundation.org>,
Nikolai Dokutovich <ndokutovich@gmail.com>
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 v5 0/3] selftests/mm: skip tests when FOLL_FORCE writes are not available
Date: Thu, 03 Dec 2026 16:31:24 +0100 [thread overview]
Message-ID: <179631188467.8564.10584230986448999983.b4-ty@b4> (raw)
In-Reply-To: <20261201191644.44219-1-ndokutovich@gmail.com>
On Tue, 01 Dec 2026 22:16:40 +0300, Nikolai Dokutovich wrote:
> A write through /proc/self/mem into a mapping that is not writable needs
> FOLL_FORCE, which CONFIG_PROC_MEM_FORCE_PTRACE only grants to a caller that
> traces the target. mkdirty and the ksm PROT_NONE test then fail instead of
> skipping on a distribution kernel:
>
> not ok 1 write() failed
> not ok 5 ptrace write failed
>
> [...]
Applied, thanks!
tree: mm/core.git
branch: core-7.5.misc
Applied patches will appear soon in mm-next, followed by linux-next.
Please report any outstanding bugs that were missed during review, so we
can either drop the patch series or decide how to fix it up.
It is encouraged to provide Acked-bys, Reviewed-bys, and Tested-bys even
though the patches have already been applied. If possible, patch trailers
will be updated.
Note that commit hashes shown below are subject to change due to rebase,
trailer updates or similar. Further, this is not a guarantee that the
patches will go upstream. If in doubt, please check the listed branch.
[1/3] selftests/mm: add a probe for FOLL_FORCE writes through /proc/self/mem
https://git.kernel.org/mm/core/c/39aeff5a
[2/3] selftests/mm: skip the mkdirty ptrace write tests without FOLL_FORCE
https://git.kernel.org/mm/core/c/cef3c46b
[3/3] selftests/mm: skip the ksm PROT_NONE test without FOLL_FORCE
https://git.kernel.org/mm/core/c/fd420b6f
--
Cheers,
David
prev parent reply other threads:[~2026-12-03 15:31 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-12-01 19:16 [PATCH v5 0/3] selftests/mm: skip tests when FOLL_FORCE writes are not available Nikolai Dokutovich
2026-12-01 19:16 ` [PATCH v5 1/3] selftests/mm: add a probe for FOLL_FORCE writes through /proc/self/mem Nikolai Dokutovich
2026-12-03 15:28 ` David Hildenbrand (Arm)
2026-12-01 19:16 ` [PATCH v5 2/3] selftests/mm: skip the mkdirty ptrace write tests without FOLL_FORCE Nikolai Dokutovich
2026-12-03 15:28 ` David Hildenbrand (Arm)
2026-12-01 19:16 ` [PATCH v5 3/3] selftests/mm: skip the ksm PROT_NONE test " Nikolai Dokutovich
2026-12-03 15:29 ` David Hildenbrand (Arm)
2026-12-03 15:31 ` David Hildenbrand [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=179631188467.8564.10584230986448999983.b4-ty@b4 \
--to=david@kernel.org \
--cc=akpm@linux-foundation.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=ndokutovich@gmail.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox