Re: [PATCH] MAINTAINERS: add additional mmap-related files to mmap section

From: Lorenzo Stoakes
Date: Tue Jun 17 2025 - 10:36:58 EST


On Mon, Jun 16, 2025 at 11:17:09PM +0200, David Hildenbrand wrote:
> On 16.06.25 22:35, Lorenzo Stoakes wrote:
> > msync and nommu are directly related to memory mapping, memfd and mincore
> > are less so but are roughly speaking operating on virtual memory mappings
> > from the point of view of the user so this seems the most appropriate place
> > for them.
> >
> > Signed-off-by: Lorenzo Stoakes <lorenzo.stoakes@xxxxxxxxxx>
> > ---
> > MAINTAINERS | 6 +++++-
> > 1 file changed, 5 insertions(+), 1 deletion(-)
> >
> > diff --git a/MAINTAINERS b/MAINTAINERS
> > index 4523a6409186..a5d1ff923a62 100644
> > --- a/MAINTAINERS
> > +++ b/MAINTAINERS
> > @@ -15735,7 +15735,6 @@ F: Documentation/admin-guide/mm/
> > F: Documentation/mm/
> > F: include/linux/gfp.h
> > F: include/linux/gfp_types.h
> > -F: include/linux/memfd.h
> > F: include/linux/memory_hotplug.h
> > F: include/linux/memory-tiers.h
> > F: include/linux/mempolicy.h
> > @@ -15974,12 +15973,17 @@ L: linux-mm@xxxxxxxxx
> > S: Maintained
> > W: http://www.linux-mm.org
> > T: git git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
> > +F: include/linux/memfd.h
> > F: include/trace/events/mmap.h
> > +F: mm/memfd.c
>
> This is much more shmem related than it is mapping related (I mean, there is
> almost nothing mapping related in there)?
>
> > +F: mm/mincore.c
> > F: mm/mlock.c
> > F: mm/mmap.c
> > F: mm/mprotect.c
> > F: mm/mremap.c
> > F: mm/mseal.c
> > +F: mm/msync.c
> > +F: mm/nommu.c
>
> There is a lot of mmap logic in there, correct. + a bunch of other weird
> things ... :(

:) Sounds like the kernel in general...

>
> --
> Cheers,
>
> David / dhildenb
>