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

Anshuman Khandual <[email protected]>
Newsgroups org.kvack.linux-mm,org.kernel.vger.linux-kernel
Message-ID <dv43i55pge7zamnk55y3xtvejvnipmeejkcnt5nx3lmx2gqtnt@d6yl7meezqth>
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) <[email protected]>

FWIW

Reviewed-by: Anshuman Khandual<[email protected]>

> ---
>  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:	[email protected]
>  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) <[email protected]>
> 
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.