]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
MAINTAINERS: fix regex pattern in CORE MM category
authorPedro Falcato <pfalcato@suse.de>
Wed, 22 Apr 2026 12:37:26 +0000 (13:37 +0100)
committerAndrew Morton <akpm@linux-foundation.org>
Mon, 27 Apr 2026 12:54:24 +0000 (05:54 -0700)
The pattern "include/linux/page[-_]*" matches every file that starts with
"page", because it's a regex and not a glob (so it has the meaning of
include/linux/page + match [-_] 0+ times).

Fix it up into a more regex-correct expression.  Doing so reduces CC's
drastically in patches that touch pagemap.h (which is maintained as part
of PAGE CACHE).

As a side-effect, move linux/pageblock-flags.h explicitly under PAGE
ALLOCATOR.

Link: https://lore.kernel.org/linux-mm/20260422005608.342028-1-fmayle@google.com/
Link: https://lore.kernel.org/20260422123726.517220-1-pfalcato@suse.de
Signed-off-by: Pedro Falcato <pfalcato@suse.de>
Reviewed-by: Lorenzo Stoakes <ljs@kernel.org>
Acked-by: David Hildenbrand (Arm) <david@kernel.org>
Acked-by: Vlastimil Babka (SUSE) <vbabka@kernel.org>
Reviewed-by: SeongJae Park <sj@kernel.org>
Cc: Liam Howlett <liam.howlett@oracle.com>
Cc: Michal Hocko <mhocko@suse.com>
Cc: Mike Rapoport <rppt@kernel.org>
Cc: Suren Baghdasaryan <surenb@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
MAINTAINERS

index 2fb1c75afd16388f590a77c04e08d2d6d002f5cc..d6f017581d541003009b346612a72da38c10dbda 100644 (file)
@@ -16805,7 +16805,7 @@ F:      mm/sparse.c
 F:     mm/util.c
 F:     mm/vmpressure.c
 F:     mm/vmstat.c
-N:     include/linux/page[-_]*
+N:     include\/linux\/page[-_][a-zA-Z]*
 
 MEMORY MANAGEMENT - EXECMEM
 M:     Andrew Morton <akpm@linux-foundation.org>
@@ -16962,6 +16962,7 @@ S:      Maintained
 F:     include/linux/compaction.h
 F:     include/linux/gfp.h
 F:     include/linux/page-isolation.h
+F:     include/linux/pageblock-flags.h
 F:     mm/compaction.c
 F:     mm/debug_page_alloc.c
 F:     mm/debug_page_ref.c