Re: [PATCH v3] mm: process_mrelease: introduce PROCESS_MRELEASE_REAP_KILL flag
From: Linus Torvalds
Date: Fri May 22 2026 - 18:45:26 EST
On Fri, 22 May 2026 at 15:41, Linus Torvalds
<torvalds@xxxxxxxxxxxxxxxxxxxx> wrote:
>
> At that point it will go through at most one iteration of show_smap()
> with the lock held, but that will be true even for your
> PIDFD_SIGNAL_PROCESS_GROUP_EXPEDITE case.
.. basically, what I'm arguing for is really to try to fix the
underlying *reason* for problems, not add new code and new
infrastructure elsewhere just because /proc/pid/smap and friends are
being difficult.
Let's really try to make them *not* cause difficulties for others instead.
Linus