[PATCH] MAINTAINERS: add drivers/char/mem.c to mm misc, memory mapping sections

Lorenzo Stoakes (ARM) posted 1 patch 1 month, 2 weeks ago
MAINTAINERS | 2 ++
1 file changed, 2 insertions(+)
[PATCH] MAINTAINERS: add drivers/char/mem.c to mm misc, memory mapping sections
Posted by Lorenzo Stoakes (ARM) 1 month, 2 weeks ago
This file is a 'special' driver that implements /dev/zero and /dev/mem
among other things.

As such it makes sense for mm to be cc'd on mails and to have some say in
how things are changed there, so add it to the mm misc section.

Uniquely, it provides the 'old way' of obtaining an anonymous mapping -
MAP_PRIVATE of /dev/zero - so is directly tied to memory mapping, therefore
also add it to the memory mapping section.

scripts/get_maintainer.pl copes perfectly fine with files in multiple
sections so everything should work correctly.

Signed-off-by: Lorenzo Stoakes (ARM) <ljs@kernel.org>
---
 MAINTAINERS | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/MAINTAINERS b/MAINTAINERS
index 8014b9f8253e..27160fbe21dc 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -17109,6 +17109,7 @@ F:	Documentation/ABI/testing/sysfs-kernel-mm-memory-tiers
 F:	Documentation/ABI/testing/sysfs-kernel-mm-numa
 F:	Documentation/admin-guide/mm/
 F:	Documentation/mm/
+F:	drivers/char/mem.c
 F:	include/linux/cma.h
 F:	include/linux/dmapool.h
 F:	include/linux/ioremap.h
@@ -17311,6 +17312,7 @@ L:	linux-mm@kvack.org
 S:	Maintained
 W:	http://www.linux-mm.org
 T:	git git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
+F:	drivers/char/mem.c
 F:	include/trace/events/mmap.h
 F:	fs/proc/task_mmu.c
 F:	fs/proc/task_nommu.c

---
base-commit: f5bbbfec59b4e2fb7520a91de3df8a6174325d6a
change-id: 20260812-add-drivers-mem-to-mm-maintainers-f3864dc8ca19

Cheers,
-- 
Lorenzo Stoakes (ARM) <ljs@kernel.org>
Re: [PATCH] MAINTAINERS: add drivers/char/mem.c to mm misc, memory mapping sections
Posted by Anshuman Khandual 1 month, 2 weeks ago
On Wed, Aug 12, 2026 at 08:43:31AM +0100, Lorenzo Stoakes (ARM) wrote:
> This file is a 'special' driver that implements /dev/zero and /dev/mem
> among other things.
> 
> As such it makes sense for mm to be cc'd on mails and to have some say in
> how things are changed there, so add it to the mm misc section.
> 
> Uniquely, it provides the 'old way' of obtaining an anonymous mapping -
> MAP_PRIVATE of /dev/zero - so is directly tied to memory mapping, therefore
> also add it to the memory mapping section.
> 
> scripts/get_maintainer.pl copes perfectly fine with files in multiple
> sections so everything should work correctly.
> 

LGTM

> Signed-off-by: Lorenzo Stoakes (ARM) <ljs@kernel.org>

FWIW

Reviewed-by: Anshuman Khandual<anshuman.khandual@arm.com>

> ---
>  MAINTAINERS | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/MAINTAINERS b/MAINTAINERS
> index 8014b9f8253e..27160fbe21dc 100644
> --- a/MAINTAINERS
> +++ b/MAINTAINERS
> @@ -17109,6 +17109,7 @@ F:	Documentation/ABI/testing/sysfs-kernel-mm-memory-tiers
>  F:	Documentation/ABI/testing/sysfs-kernel-mm-numa
>  F:	Documentation/admin-guide/mm/
>  F:	Documentation/mm/
> +F:	drivers/char/mem.c
>  F:	include/linux/cma.h
>  F:	include/linux/dmapool.h
>  F:	include/linux/ioremap.h
> @@ -17311,6 +17312,7 @@ L:	linux-mm@kvack.org
>  S:	Maintained
>  W:	http://www.linux-mm.org
>  T:	git git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
> +F:	drivers/char/mem.c
>  F:	include/trace/events/mmap.h
>  F:	fs/proc/task_mmu.c
>  F:	fs/proc/task_nommu.c
> 
> ---
> base-commit: f5bbbfec59b4e2fb7520a91de3df8a6174325d6a
> change-id: 20260812-add-drivers-mem-to-mm-maintainers-f3864dc8ca19
> 
> Cheers,
> -- 
> Lorenzo Stoakes (ARM) <ljs@kernel.org>
> 
>
Re: [PATCH] MAINTAINERS: add drivers/char/mem.c to mm misc, memory mapping sections
Posted by SJ Park 1 month, 2 weeks ago
On Wed, 12 Aug 2026 08:43:31 +0100 "Lorenzo Stoakes (ARM)" <ljs@kernel.org> wrote:

> This file is a 'special' driver that implements /dev/zero and /dev/mem
> among other things.
> 
> As such it makes sense for mm to be cc'd on mails and to have some say in
> how things are changed there, so add it to the mm misc section.
> 
> Uniquely, it provides the 'old way' of obtaining an anonymous mapping -
> MAP_PRIVATE of /dev/zero - so is directly tied to memory mapping, therefore
> also add it to the memory mapping section.

Makes sense.

> 
> scripts/get_maintainer.pl copes perfectly fine with files in multiple
> sections so everything should work correctly.
> 
> Signed-off-by: Lorenzo Stoakes (ARM) <ljs@kernel.org>

Acked-by: SJ Park <sj@kernel.org>


Thanks,
SJ

[...]
Re: [PATCH] MAINTAINERS: add drivers/char/mem.c to mm misc, memory mapping sections
Posted by Mike Rapoport 1 month, 2 weeks ago
On Wed, Aug 12, 2026 at 08:43:31AM +0100, Lorenzo Stoakes (ARM) wrote:
> This file is a 'special' driver that implements /dev/zero and /dev/mem
> among other things.
> 
> As such it makes sense for mm to be cc'd on mails and to have some say in
> how things are changed there, so add it to the mm misc section.
> 
> Uniquely, it provides the 'old way' of obtaining an anonymous mapping -
> MAP_PRIVATE of /dev/zero - so is directly tied to memory mapping, therefore
> also add it to the memory mapping section.
> 
> scripts/get_maintainer.pl copes perfectly fine with files in multiple
> sections so everything should work correctly.
> 
> Signed-off-by: Lorenzo Stoakes (ARM) <ljs@kernel.org>

Acked-by: Mike Rapoport (Microsoft) <rppt@kernel.org>

> ---
>  MAINTAINERS | 2 ++
>  1 file changed, 2 insertions(+)

-- 
Sincerely yours,
Mike.
Re: [PATCH] MAINTAINERS: add drivers/char/mem.c to mm misc, memory mapping sections
Posted by David Hildenbrand (Arm) 1 month, 2 weeks ago
On 8/12/26 09:43, Lorenzo Stoakes (ARM) wrote:
> This file is a 'special' driver that implements /dev/zero and /dev/mem
> among other things.
> 
> As such it makes sense for mm to be cc'd on mails and to have some say in
> how things are changed there, so add it to the mm misc section.
> 
> Uniquely, it provides the 'old way' of obtaining an anonymous mapping -
> MAP_PRIVATE of /dev/zero - so is directly tied to memory mapping, therefore
> also add it to the memory mapping section.
> 
> scripts/get_maintainer.pl copes perfectly fine with files in multiple
> sections so everything should work correctly.
> 
> Signed-off-by: Lorenzo Stoakes (ARM) <ljs@kernel.org>
> ---

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

-- 
Cheers,

David