From: "Lorenzo Stoakes (ARM)" <ljs@kernel.org>
To: Paul Moore <paul@paul-moore.com>
Cc: "Juergen Gross" <jgross@suse.com>,
"Stefano Stabellini" <sstabellini@kernel.org>,
"Oleksandr Tyshchenko" <oleksandr_tyshchenko@epam.com>,
"Madhavan Srinivasan" <maddy@linux.ibm.com>,
"Nicholas Piggin" <npiggin@gmail.com>,
"Michael Ellerman" <mpe@ellerman.id.au>,
"Christophe Leroy (CS GROUP)" <chleroy@kernel.org>,
"Ritesh Harjani (IBM)" <ritesh.list@gmail.com>,
"Shrikanth Hegde" <sshegde@linux.ibm.com>,
"Haiyang Zhang" <haiyangz@microsoft.com>,
"Wei Liu" <wei.liu@kernel.org>,
"Dexuan Cui" <decui@microsoft.com>,
"Michael S. Tsirkin" <mst@redhat.com>,
"Jason Wang" <jasowangio@gmail.com>,
"Eugenio Pérez" <eperezma@redhat.com>,
"Xuan Zhuo" <xuanzhuo@linux.alibaba.com>,
"Jarkko Sakkinen" <jarkko@kernel.org>,
"Dave Hansen" <dave.hansen@linux.intel.com>,
"Thomas Gleixner" <tglx@kernel.org>,
"Ingo Molnar" <mingo@redhat.com>,
"Borislav Petkov" <bp@alien8.de>,
x86@kernel.org, "H. Peter Anvin" <hpa@zytor.com>,
"Jan Kara" <jack@suse.com>,
"Stephen Smalley" <stephen.smalley.work@gmail.com>,
"Ondrej Mosnáček" <omosnacek@gmail.com>,
"Joel Stanley" <joel@jms.id.au>,
"Andrew Jeffery" <andrew@codeconstruct.com.au>,
"Ryan Chen" <ryan_chen@aspeedtech.com>,
"Billy Tsai" <billy_tsai@aspeedtech.com>,
"Bjorn Andersson" <andersson@kernel.org>,
"Konrad Dybcio" <konradybcio@kernel.org>,
"Abel Vesa" <abelvesa@kernel.org>,
"Jens Wiklander" <jenswi@kernel.org>,
"Sumit Garg" <sumit.garg@kernel.org>,
"Scott Branden" <scott.branden@broadcom.com>,
"Broadcom internal kernel review list"
<bcm-kernel-feedback-list@broadcom.com>,
"Arnd Bergmann" <arnd@arndb.de>,
"Greg Kroah-Hartman" <gregkh@linuxfoundation.org>,
"Richard Cochran" <richardcochran@gmail.com>,
"David Woodhouse" <dwmw2@infradead.org>,
"Andrew Lunn" <andrew+netdev@lunn.ch>,
"David S. Miller" <davem@davemloft.net>,
"Eric Dumazet" <edumazet@kernel.org>,
"Jakub Kicinski" <kuba@kernel.org>,
"Paolo Abeni" <pabeni@redhat.com>,
xen-devel@lists.xenproject.org, linux-kernel@vger.kernel.org,
linuxppc-dev@lists.ozlabs.org, kvm@vger.kernel.org,
linux-hyperv@vger.kernel.org, virtualization@lists.linux.dev,
linux-sgx@vger.kernel.org, selinux@vger.kernel.org,
linux-arm-kernel@lists.infradead.org,
linux-aspeed@lists.ozlabs.org, linux-arm-msm@vger.kernel.org,
op-tee@lists.trustedfirmware.org, netdev@vger.kernel.org
Subject: Re: [PATCH 00/14] mm: convert further simple mmap hooks to mmap_prepare
Date: Fri, 6 Nov 2026 10:18:06 +0000 [thread overview]
Message-ID: <au2odtvEhpLJY4eD@gremlin> (raw)
In-Reply-To: <CAHC9VhQvpFeEJaEyPDaqj8_S752puSaNe0Rn-hxjh=ugCoFsxA@mail.gmail.com>
On Thu, Nov 05, 2026 at 06:12:09PM -0500, Paul Moore wrote:
> On Thu, Nov 5, 2026 at 4:06 PM Lorenzo Stoakes (ARM) <ljs@kernel.org> wrote:
> >
> > Continue the conversion of users of the deprecated f_op->mmap callback to
> > f_op->mmap_prepare. Keep things gentle this cycle by targeting simple
> > cases.
> >
> > No functional change intended.
> >
> > Build tested on x86-64 (allmodconfig, each patch individually), i386,
> > arm64 and ppc64le.
> >
> > <<>>
> >
> > David, Andrew - I wonder whether one of you guys could take this series
> > through your tree? Since it's kernel-wide it seems sensible to take it
> > through an mm tree.
>
> Granted I've only properly looked at the SELinux patch (7/14), the
> rest I've just skimmed through, but these are all independent patches,
> right? Is there any reason why individual subsystem maintainers
> shouldn't just pick up their associated patch? Yes, perhaps chasing
> down individual maintainers is a bit more work, but isn't that the way
> this should work?
I've no objection to people taking patches independently, the concern is people
lagging on that and holding up a key conversion which is entirely mechanical, +
generally tree-wide stuff like this has been via the mm tree.
The mmap_prepare stuff is actually important for security (pertinent given
current AI fix storm) as it's by design super locked down vs. mmap which has
caused several genuine issues including a nasty 0-day.
So am keen to keep that rolling!
In this case each patch is mechanical and simple, so little surface area for
issues.
--
Cheers, Lorenzo
WARNING: multiple messages have this Message-ID (diff)
From: "Lorenzo Stoakes (ARM) via OP-TEE" <op-tee@lists.trustedfirmware.org>
To: Paul Moore <paul@paul-moore.com>
Cc: "Juergen Gross" <jgross@suse.com>,
"Stefano Stabellini" <sstabellini@kernel.org>,
"Oleksandr Tyshchenko" <oleksandr_tyshchenko@epam.com>,
"Madhavan Srinivasan" <maddy@linux.ibm.com>,
"Nicholas Piggin" <npiggin@gmail.com>,
"Michael Ellerman" <mpe@ellerman.id.au>,
"Christophe Leroy (CS GROUP)" <chleroy@kernel.org>,
"Ritesh Harjani (IBM)" <ritesh.list@gmail.com>,
"Shrikanth Hegde" <sshegde@linux.ibm.com>,
"Haiyang Zhang" <haiyangz@microsoft.com>,
"Wei Liu" <wei.liu@kernel.org>,
"Dexuan Cui" <decui@microsoft.com>,
"Michael S. Tsirkin" <mst@redhat.com>,
"Jason Wang" <jasowangio@gmail.com>,
"Eugenio Pérez" <eperezma@redhat.com>,
"Xuan Zhuo" <xuanzhuo@linux.alibaba.com>,
"Jarkko Sakkinen" <jarkko@kernel.org>,
"Dave Hansen" <dave.hansen@linux.intel.com>,
"Thomas Gleixner" <tglx@kernel.org>,
"Ingo Molnar" <mingo@redhat.com>,
"Borislav Petkov" <bp@alien8.de>,
x86@kernel.org, "H. Peter Anvin" <hpa@zytor.com>,
"Jan Kara" <jack@suse.com>,
"Stephen Smalley" <stephen.smalley.work@gmail.com>,
"Ondrej Mosnáček" <omosnacek@gmail.com>,
"Joel Stanley" <joel@jms.id.au>,
"Andrew Jeffery" <andrew@codeconstruct.com.au>,
"Ryan Chen" <ryan_chen@aspeedtech.com>,
"Billy Tsai" <billy_tsai@aspeedtech.com>,
"Bjorn Andersson" <andersson@kernel.org>,
"Konrad Dybcio" <konradybcio@kernel.org>,
"Abel Vesa" <abelvesa@kernel.org>,
"Jens Wiklander" <jenswi@kernel.org>,
"Sumit Garg" <sumit.garg@kernel.org>,
"Scott Branden" <scott.branden@broadcom.com>,
"Broadcom internal kernel review list"
<bcm-kernel-feedback-list@broadcom.com>,
"Arnd Bergmann" <arnd@arndb.de>,
"Greg Kroah-Hartman" <gregkh@linuxfoundation.org>,
"Richard Cochran" <richardcochran@gmail.com>,
"David Woodhouse" <dwmw2@infradead.org>,
"Andrew Lunn" <andrew+netdev@lunn.ch>,
"David S. Miller" <davem@davemloft.net>,
"Eric Dumazet" <edumazet@kernel.org>,
"Jakub Kicinski" <kuba@kernel.org>,
"Paolo Abeni" <pabeni@redhat.com>,
xen-devel@lists.xenproject.org, linux-kernel@vger.kernel.org,
linuxppc-dev@lists.ozlabs.org, kvm@vger.kernel.org,
linux-hyperv@vger.kernel.org, virtualization@lists.linux.dev,
linux-sgx@vger.kernel.org, selinux@vger.kernel.org,
linux-arm-kernel@lists.infradead.org,
linux-aspeed@lists.ozlabs.org, linux-arm-msm@vger.kernel.org,
op-tee@lists.trustedfirmware.org, netdev@vger.kernel.org
Subject: Re: [PATCH 00/14] mm: convert further simple mmap hooks to mmap_prepare
Date: Fri, 6 Nov 2026 10:18:06 +0000 [thread overview]
Message-ID: <au2odtvEhpLJY4eD@gremlin> (raw)
In-Reply-To: <CAHC9VhQvpFeEJaEyPDaqj8_S752puSaNe0Rn-hxjh=ugCoFsxA@mail.gmail.com>
On Thu, Nov 05, 2026 at 06:12:09PM -0500, Paul Moore wrote:
> On Thu, Nov 5, 2026 at 4:06 PM Lorenzo Stoakes (ARM) <ljs@kernel.org> wrote:
> >
> > Continue the conversion of users of the deprecated f_op->mmap callback to
> > f_op->mmap_prepare. Keep things gentle this cycle by targeting simple
> > cases.
> >
> > No functional change intended.
> >
> > Build tested on x86-64 (allmodconfig, each patch individually), i386,
> > arm64 and ppc64le.
> >
> > <<>>
> >
> > David, Andrew - I wonder whether one of you guys could take this series
> > through your tree? Since it's kernel-wide it seems sensible to take it
> > through an mm tree.
>
> Granted I've only properly looked at the SELinux patch (7/14), the
> rest I've just skimmed through, but these are all independent patches,
> right? Is there any reason why individual subsystem maintainers
> shouldn't just pick up their associated patch? Yes, perhaps chasing
> down individual maintainers is a bit more work, but isn't that the way
> this should work?
I've no objection to people taking patches independently, the concern is people
lagging on that and holding up a key conversion which is entirely mechanical, +
generally tree-wide stuff like this has been via the mm tree.
The mmap_prepare stuff is actually important for security (pertinent given
current AI fix storm) as it's by design super locked down vs. mmap which has
caused several genuine issues including a nasty 0-day.
So am keen to keep that rolling!
In this case each patch is mechanical and simple, so little surface area for
issues.
--
Cheers, Lorenzo
next prev parent reply other threads:[~2026-11-06 10:18 UTC|newest]
Thread overview: 49+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-05 21:05 [PATCH 00/14] mm: convert further simple mmap hooks to mmap_prepare Lorenzo Stoakes (ARM)
2026-11-05 21:05 ` Lorenzo Stoakes (ARM) via OP-TEE
2026-11-05 21:05 ` [PATCH 01/14] xen/privcmd: convert mmap hook " Lorenzo Stoakes (ARM)
2026-11-05 21:05 ` Lorenzo Stoakes (ARM) via OP-TEE
2026-11-05 21:05 ` [PATCH 02/14] KVM: PPC: Book3S: convert spapr TCE " Lorenzo Stoakes (ARM)
2026-11-05 21:05 ` Lorenzo Stoakes (ARM) via OP-TEE
2026-11-05 21:05 ` [PATCH 03/14] mshv_vtl: convert mmap hooks " Lorenzo Stoakes (ARM)
2026-11-05 21:05 ` Lorenzo Stoakes (ARM) via OP-TEE
2026-11-05 21:05 ` [PATCH 04/14] vduse: convert IOVA domain mmap hook " Lorenzo Stoakes (ARM)
2026-11-05 21:05 ` Lorenzo Stoakes (ARM) via OP-TEE
2026-11-05 21:05 ` [PATCH 05/14] x86/sgx: convert vepc " Lorenzo Stoakes (ARM)
2026-11-05 21:05 ` Lorenzo Stoakes (ARM) via OP-TEE
2026-11-05 21:43 ` Jarkko Sakkinen
2026-11-05 21:43 ` Jarkko Sakkinen via OP-TEE
2026-11-05 21:05 ` [PATCH 06/14] udf: convert " Lorenzo Stoakes (ARM)
2026-11-05 21:05 ` Lorenzo Stoakes (ARM) via OP-TEE
2026-11-06 13:58 ` Jan Kara
2026-11-06 13:58 ` Jan Kara
2026-11-05 21:05 ` [PATCH 07/14] selinuxfs: convert mmap hooks " Lorenzo Stoakes (ARM)
2026-11-05 21:05 ` Lorenzo Stoakes (ARM) via OP-TEE
2026-11-05 23:14 ` Paul Moore
2026-11-05 23:14 ` Paul Moore
2026-11-05 21:05 ` [PATCH 08/14] xen: convert xenstore interface " Lorenzo Stoakes (ARM)
2026-11-05 21:05 ` Lorenzo Stoakes (ARM) via OP-TEE
2026-11-05 21:05 ` [PATCH 09/14] soc: aspeed: convert LPC and P2A control " Lorenzo Stoakes (ARM)
2026-11-05 21:05 ` Lorenzo Stoakes (ARM) via OP-TEE
2026-11-09 5:18 ` Andrew Jeffery
2026-11-05 21:05 ` [PATCH 10/14] soc: qcom: rmtfs_mem: convert mmap hook " Lorenzo Stoakes (ARM)
2026-11-05 21:05 ` Lorenzo Stoakes (ARM) via OP-TEE
2026-11-09 9:14 ` Abel Vesa
2026-11-09 9:14 ` Abel Vesa
2026-11-05 21:05 ` [PATCH 11/14] tee: convert shm " Lorenzo Stoakes (ARM)
2026-11-05 21:05 ` Lorenzo Stoakes (ARM) via OP-TEE
2026-11-05 21:05 ` [PATCH 12/14] misc: bcm-vk: convert " Lorenzo Stoakes (ARM)
2026-11-05 21:05 ` Lorenzo Stoakes (ARM) via OP-TEE
2026-11-05 21:05 ` [PATCH 13/14] ptp: vmclock: " Lorenzo Stoakes (ARM)
2026-11-05 21:05 ` Lorenzo Stoakes (ARM) via OP-TEE
2026-11-06 0:34 ` David Woodhouse
2026-11-06 0:34 ` David Woodhouse
2026-11-05 21:05 ` [PATCH 14/14] vhost-vdpa: " Lorenzo Stoakes (ARM)
2026-11-05 21:05 ` Lorenzo Stoakes (ARM) via OP-TEE
2026-11-09 13:06 ` Michael S. Tsirkin
2026-11-09 13:06 ` Michael S. Tsirkin via OP-TEE
2026-11-05 23:12 ` [PATCH 00/14] mm: convert further simple mmap hooks " Paul Moore
2026-11-05 23:12 ` Paul Moore
2026-11-06 10:18 ` Lorenzo Stoakes (ARM) [this message]
2026-11-06 10:18 ` Lorenzo Stoakes (ARM) via OP-TEE
2026-11-06 13:50 ` Jarkko Sakkinen
2026-11-06 13:50 ` Jarkko Sakkinen via OP-TEE
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=au2odtvEhpLJY4eD@gremlin \
--to=ljs@kernel.org \
--cc=abelvesa@kernel.org \
--cc=andersson@kernel.org \
--cc=andrew+netdev@lunn.ch \
--cc=andrew@codeconstruct.com.au \
--cc=arnd@arndb.de \
--cc=bcm-kernel-feedback-list@broadcom.com \
--cc=billy_tsai@aspeedtech.com \
--cc=bp@alien8.de \
--cc=chleroy@kernel.org \
--cc=dave.hansen@linux.intel.com \
--cc=davem@davemloft.net \
--cc=decui@microsoft.com \
--cc=dwmw2@infradead.org \
--cc=edumazet@kernel.org \
--cc=eperezma@redhat.com \
--cc=gregkh@linuxfoundation.org \
--cc=haiyangz@microsoft.com \
--cc=hpa@zytor.com \
--cc=jack@suse.com \
--cc=jarkko@kernel.org \
--cc=jasowangio@gmail.com \
--cc=jenswi@kernel.org \
--cc=jgross@suse.com \
--cc=joel@jms.id.au \
--cc=konradybcio@kernel.org \
--cc=kuba@kernel.org \
--cc=kvm@vger.kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-aspeed@lists.ozlabs.org \
--cc=linux-hyperv@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-sgx@vger.kernel.org \
--cc=linuxppc-dev@lists.ozlabs.org \
--cc=maddy@linux.ibm.com \
--cc=mingo@redhat.com \
--cc=mpe@ellerman.id.au \
--cc=mst@redhat.com \
--cc=netdev@vger.kernel.org \
--cc=npiggin@gmail.com \
--cc=oleksandr_tyshchenko@epam.com \
--cc=omosnacek@gmail.com \
--cc=op-tee@lists.trustedfirmware.org \
--cc=pabeni@redhat.com \
--cc=paul@paul-moore.com \
--cc=richardcochran@gmail.com \
--cc=ritesh.list@gmail.com \
--cc=ryan_chen@aspeedtech.com \
--cc=scott.branden@broadcom.com \
--cc=selinux@vger.kernel.org \
--cc=sshegde@linux.ibm.com \
--cc=sstabellini@kernel.org \
--cc=stephen.smalley.work@gmail.com \
--cc=sumit.garg@kernel.org \
--cc=tglx@kernel.org \
--cc=virtualization@lists.linux.dev \
--cc=wei.liu@kernel.org \
--cc=x86@kernel.org \
--cc=xen-devel@lists.xenproject.org \
--cc=xuanzhuo@linux.alibaba.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 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.