mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Hugh Dickins <hughd@google.com>
To: "David Hildenbrand (Arm)" <david@kernel.org>
Cc: Alistair Popple <apopple@nvidia.com>,
	 Andrew Morton <akpm@linux-foundation.org>,
	 "Aneesh Kumar K.V" <aneesh.kumar@kernel.org>,
	 Baolin Wang <baolin.wang@linux.alibaba.com>,
	 Baoquan He <baoquan.he@linux.dev>,
	Barry Song <baohua@kernel.org>,
	 Brendan Jackman <brendan.jackman@linux.dev>,
	 Byungchul Park <byungchul@sk.com>,
	 Chengming Zhou <chengming.zhou@linux.dev>,
	Chris Li <chrisl@kernel.org>,  Christoph Lameter <cl@gentwo.org>,
	Dave Chinner <david@fromorbit.com>,
	 David Rientjes <rientjes@google.com>,
	Dennis Zhou <dennis@kernel.org>,  Dev Jain <dev.jain@arm.com>,
	Gregory Price <gourry@gourry.net>,  Hao Li <hao.li@linux.dev>,
	Harry Yoo <harry@kernel.org>,  Hugh Dickins <hughd@google.com>,
	Jann Horn <jannh@google.com>,
	 Johannes Weiner <hannes@cmpxchg.org>,
	John Hubbard <jhubbard@nvidia.com>,
	 Joshua Hahn <joshua.hahnjy@gmail.com>,
	Kairui Song <kasong@tencent.com>,
	 Kemeng Shi <shikemeng@huaweicloud.com>,
	Kiryl Shutsemau <kas@kernel.org>,
	 Lance Yang <lance.yang@linux.dev>,
	"Liam R. Howlett" <liam@infradead.org>,
	 Lorenzo Stoakes <ljs@kernel.org>,
	Matthew Brost <matthew.brost@intel.com>,
	 Miaohe Lin <linmiaohe@huawei.com>,
	Michal Hocko <mhocko@kernel.org>,
	 Mike Rapoport <rppt@kernel.org>,
	Muchun Song <muchun.song@linux.dev>,
	 Naoya Horiguchi <nao.horiguchi@gmail.com>,
	Nhat Pham <nphamcs@gmail.com>,  Nick Piggin <npiggin@gmail.com>,
	Nico Pache <nico.pache@linux.dev>,
	 Oscar Salvador <osalvador@suse.de>,
	Pedro Falcato <pfalcato@suse.de>,  Peter Xu <peterx@redhat.com>,
	Peter Zijlstra <peterz@infradead.org>,
	 Qi Zheng <qi.zheng@linux.dev>, Rakie Kim <rakie.kim@sk.com>,
	 Rik van Riel <riel@surriel.com>,
	Roman Gushchin <roman.gushchin@linux.dev>,
	 Ryan Roberts <ryan.roberts@arm.com>,
	Shakeel Butt <shakeel.butt@linux.dev>,
	 Suren Baghdasaryan <surenb@google.com>,
	Tejun Heo <tj@kernel.org>,  Uladzislau Rezki <urezki@gmail.com>,
	Usama Arif <usama.arif@linux.dev>,
	 Vlastimil Babka <vbabka@kernel.org>,
	Will Deacon <will@kernel.org>,  Xu Xin <xu.xin@linux.dev>,
	Ying Huang <ying.huang@linux.alibaba.com>,
	 Youngjun Park <youngjun.park@lge.com>, Zi Yan <ziy@nvidia.com>,
	 Jason Gunthorpe <jgg@ziepe.ca>,
	Manfred Spraul <manfred@colorfullife.com>,
	 Christian Brauner <brauner@kernel.org>,
	linux-fsdevel@vger.kernel.org,  linux-kernel@vger.kernel.org,
	linux-mm@kvack.org
Subject: Re: [PATCH 2/7] MAINTAINERS: TMPFS (SHMEM FILESYSTEM) updates
Date: Tue, 3 Nov 2026 00:27:22 -0800 (PST)	[thread overview]
Message-ID: <b04d8d01-b42d-d948-b7b8-c360f8ec6002@google.com> (raw)
In-Reply-To: <20261030-maintainers-v1-2-97278f8a5f54@kernel.org>

On Fri, 30 Oct 2026, David Hildenbrand (Arm) wrote:

> I am not really the best shmem/tmpfs/memfd expert around, but it should
> be good enough to judge when something is ready to be picked up, to then
> pick it up. I'll have to heavily rely on Hugh and Baolin on judgment
> for the more involved and more controversial bits.
> 
> Rename "TMPFS (SHMEM FILESYSTEM)" to "MEMORY MANAGEMENT - SHARED MEMORY
> (SHMEM/TMPFS/MEMFD)" and move it accordingly. Add myself as a MAINTAINER
> so people know whom to CC.

Thank you for taking this on, David. And thank you of course to the
unlisted Andrew Morton, who has been uncomplainingly filling in for
me year after year; and thank you to Baolin too.

"SHARED MEMORY": should ipc/shm.c be added to our list of files below,
as mm/memfd.c is? (Though both can also go off to hugetlbfs instead.)
Or do you prefer to regard ipc/shm.c more as a client of mm/shmem.c,
rather as drivers/gpu/drm is?

We don't often have to touch ipc/shm.c, and generally ipc/ is well cared
for by Manfred Spraul (but I couldn't see a block in MAINTAINERS for it).

> 
> Add mm/core.git as the target git tree. Once shmem becomes a high volume
> component we can dedicate it a separate tree and have dedicated people
> pick it up.

Okay: but do keep in mind that tmpfs is a filesystem, and often the
FS folks make small adjustments to it, which usually go unconflictingly
through Christian Brauner's tree. That generally works well, so please
let's keep on working in that way (just once I remember holding off
intended MM changes to shmem.c for a release, while FS were busy there).

> 
> While at it, add some more shmem/tmpfs/memfd related files+directories
> we missed so far.
> 
> There is also "kernel/pid_sysctl.h", which includes some of the pid
> namespaced sysctl vm.memfd_noexec. But that's really more of a proc/
> namespace thingy, so it's not a good fit here.

Agreed: if I ever heard of it, I soon forgot.

> 
> Signed-off-by: David Hildenbrand (Arm) <david@kernel.org>

Acked-by: Hugh Dickins <hughd@google.com>

> ---
>  MAINTAINERS | 30 +++++++++++++++++++-----------
>  1 file changed, 19 insertions(+), 11 deletions(-)
> 
> diff --git a/MAINTAINERS b/MAINTAINERS
> index dbb5582ec1c74..0baeb37b0dcdc 100644
> --- a/MAINTAINERS
> +++ b/MAINTAINERS
> @@ -17772,6 +17772,25 @@ S:	Maintained
>  F:	include/linux/secretmem.h
>  F:	mm/secretmem.c
>  
> +MEMORY MANAGEMENT - SHARED MEMORY (SHMEM/TMPFS/MEMFD)
> +M:	Hugh Dickins <hughd@google.com>
> +M:	David Hildenbrand <david@kernel.org>
> +R:	Baolin Wang <baolin.wang@linux.alibaba.com>
> +L:	linux-mm@kvack.org
> +S:	Maintained
> +T:	git git://git.kernel.org/pub/scm/linux/kernel/git/mm/core.git for-next
> +F:	Documentation/filesystems/tmpfs.rst
> +F:	Documentation/mm/shmfs.rst
> +F:	Documentation/userspace-api/mfd_noexec.rst
> +F:	include/linux/memfd.h
> +F:	include/linux/shmem_fs.h
> +F:	include/uapi/linux/memfd.h
> +F:	mm/memfd.c
> +F:	mm/shmem.c
> +F:	mm/shmem_quota.c
> +F:	tools/testing/selftests/memfd/
> +F:	tools/testing/selftests/tmpfs/
> +
>  MEMORY MANAGEMENT - SWAP
>  M:	Andrew Morton <akpm@linux-foundation.org>
>  M:	Chris Li <chrisl@kernel.org>
> @@ -28202,17 +28221,6 @@ S:	Maintained
>  F:	Documentation/hwmon/tmp513.rst
>  F:	drivers/hwmon/tmp513.c
>  
> -TMPFS (SHMEM FILESYSTEM)
> -M:	Hugh Dickins <hughd@google.com>
> -R:	Baolin Wang <baolin.wang@linux.alibaba.com>
> -L:	linux-mm@kvack.org
> -S:	Maintained
> -F:	include/linux/memfd.h
> -F:	include/linux/shmem_fs.h
> -F:	mm/memfd.c
> -F:	mm/shmem.c
> -F:	mm/shmem_quota.c
> -
>  TOMOYO SECURITY MODULE
>  M:	Kentaro Takeda <takedakn@nttdata.co.jp>
>  M:	Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
> 
> -- 
> 2.43.0

  parent reply	other threads:[~2026-11-03  8:27 UTC|newest]

Thread overview: 49+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-10-30 21:34 [PATCH 0/7] MAINTAINERS: MM updates David Hildenbrand (Arm)
2026-10-30 21:34 ` [PATCH 1/7] MAINTAINERS: mention for-next branch in MEMORY MANAGEMENT - MEMORY MAP David Hildenbrand (Arm)
2026-10-31  0:40   ` Muchun Song
2026-10-31  8:38   ` Lorenzo Stoakes (ARM)
2026-11-01 17:11   ` Harry Yoo
2026-10-30 21:34 ` [PATCH 2/7] MAINTAINERS: TMPFS (SHMEM FILESYSTEM) updates David Hildenbrand (Arm)
2026-10-31  8:42   ` Lorenzo Stoakes (ARM)
2026-11-01 17:14   ` Harry Yoo
2026-11-02  2:01   ` Baolin Wang
2026-11-03  8:27   ` Hugh Dickins [this message]
2026-11-03  8:45     ` Lorenzo Stoakes (ARM)
2026-10-30 21:34 ` [PATCH 3/7] MAINTAINERS: add Zi Yan as co-maintainer for MEMORY MANAGEMENT - THP David Hildenbrand (Arm)
2026-10-30 22:00   ` Zi Yan
2026-10-30 23:33   ` Barry Song
2026-10-31  0:39   ` Muchun Song
2026-10-31  4:01   ` Lance Yang
2026-10-31  5:43   ` Dev Jain
2026-10-31  8:36   ` Lorenzo Stoakes (ARM)
2026-11-01 17:16   ` Harry Yoo
2026-11-02  2:04   ` Baolin Wang
2026-10-30 21:34 ` [PATCH 4/7] MAINTAINERS: sort entries in MM sections David Hildenbrand (Arm)
2026-10-31  9:08   ` Lorenzo Stoakes (ARM)
2026-10-31  9:25     ` David Hildenbrand (Arm)
2026-11-01 17:19   ` Harry Yoo
2026-10-30 21:34 ` [PATCH 5/7] MAINTAINERS: add missing files to MM component sections David Hildenbrand (Arm)
2026-10-31  0:42   ` Muchun Song
2026-10-31  9:23   ` Lorenzo Stoakes (ARM)
2026-10-31  9:26     ` David Hildenbrand (Arm)
2026-10-30 21:34 ` [PATCH 6/7] MAINTAINERS: rename and move MEMORY HOT(UN)PLUG David Hildenbrand (Arm)
2026-10-31  0:43   ` Muchun Song
2026-10-31  9:24   ` Lorenzo Stoakes (ARM)
2026-10-30 21:34 ` [PATCH 7/7] MAINTAINERS: route more MM changes through mm/core.git David Hildenbrand (Arm)
2026-10-31 10:51   ` Lorenzo Stoakes (ARM)
2026-10-30 22:02 ` [PATCH 0/7] MAINTAINERS: MM updates Zi Yan
2026-10-30 23:48 ` SJ Park
2026-10-31  7:49 ` Qi Zheng
2026-10-31  8:30 ` Mike Rapoport
2026-11-01 10:37 ` Vlastimil Babka (SUSE)
2026-11-01 13:33 ` David Hildenbrand (Arm)
2026-11-01 20:30   ` Andrew Morton
2026-11-01 20:55     ` SJ Park
2026-11-02  6:47     ` David Hildenbrand (Arm)
2026-11-02  7:11       ` Andrew Morton
2026-11-02  8:07         ` David Hildenbrand (Arm)
2026-11-02 11:17       ` Lorenzo Stoakes (ARM)
2026-11-02 12:32         ` David Hildenbrand (Arm)
2026-11-02 12:33           ` Lorenzo Stoakes (ARM)
2026-11-01 20:47 ` Shakeel Butt
2026-11-02 11:20 ` Kiryl Shutsemau

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=b04d8d01-b42d-d948-b7b8-c360f8ec6002@google.com \
    --to=hughd@google.com \
    --cc=akpm@linux-foundation.org \
    --cc=aneesh.kumar@kernel.org \
    --cc=apopple@nvidia.com \
    --cc=baohua@kernel.org \
    --cc=baolin.wang@linux.alibaba.com \
    --cc=baoquan.he@linux.dev \
    --cc=brauner@kernel.org \
    --cc=brendan.jackman@linux.dev \
    --cc=byungchul@sk.com \
    --cc=chengming.zhou@linux.dev \
    --cc=chrisl@kernel.org \
    --cc=cl@gentwo.org \
    --cc=david@fromorbit.com \
    --cc=david@kernel.org \
    --cc=dennis@kernel.org \
    --cc=dev.jain@arm.com \
    --cc=gourry@gourry.net \
    --cc=hannes@cmpxchg.org \
    --cc=hao.li@linux.dev \
    --cc=harry@kernel.org \
    --cc=jannh@google.com \
    --cc=jgg@ziepe.ca \
    --cc=jhubbard@nvidia.com \
    --cc=joshua.hahnjy@gmail.com \
    --cc=kas@kernel.org \
    --cc=kasong@tencent.com \
    --cc=lance.yang@linux.dev \
    --cc=liam@infradead.org \
    --cc=linmiaohe@huawei.com \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=ljs@kernel.org \
    --cc=manfred@colorfullife.com \
    --cc=matthew.brost@intel.com \
    --cc=mhocko@kernel.org \
    --cc=muchun.song@linux.dev \
    --cc=nao.horiguchi@gmail.com \
    --cc=nico.pache@linux.dev \
    --cc=nphamcs@gmail.com \
    --cc=npiggin@gmail.com \
    --cc=osalvador@suse.de \
    --cc=peterx@redhat.com \
    --cc=peterz@infradead.org \
    --cc=pfalcato@suse.de \
    --cc=qi.zheng@linux.dev \
    --cc=rakie.kim@sk.com \
    --cc=riel@surriel.com \
    --cc=rientjes@google.com \
    --cc=roman.gushchin@linux.dev \
    --cc=rppt@kernel.org \
    --cc=ryan.roberts@arm.com \
    --cc=shakeel.butt@linux.dev \
    --cc=shikemeng@huaweicloud.com \
    --cc=surenb@google.com \
    --cc=tj@kernel.org \
    --cc=urezki@gmail.com \
    --cc=usama.arif@linux.dev \
    --cc=vbabka@kernel.org \
    --cc=will@kernel.org \
    --cc=xu.xin@linux.dev \
    --cc=ying.huang@linux.alibaba.com \
    --cc=youngjun.park@lge.com \
    --cc=ziy@nvidia.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®