Re: [PATCH v2 1/2] MAINTAINERS: cover all hugetlb headers under HUGETLB SUBSYSTEM

From: David Hildenbrand (Arm)

Date: Sat Oct 03 2026 - 10:19:18 EST


On 10/3/26 08:00, Enze Li wrote:
> The HUGETLB SUBSYSTEM F: entries list include/linux/hugetlb.h
> explicitly, but other hugetlb headers are not covered, so
> get_maintainer.pl does not attribute them to the hugetlb maintainers.
>
> Enumerating headers by hand is also fragile: any header not listed (such
> as hugetlb_cgroup.h) falls outside the subsystem. Joe Perches suggested
> using a glob F: entry, which covers all current and future hugetlb
> headers in one line and avoids the gap.
>
> Suggested-by: Joe Perches <joe@xxxxxxxxxxx>
> Signed-off-by: Enze Li <lienze@xxxxxxxxxx>
> ---
> Changes in v2:
> - Adopt the glob pattern "F: include/linux/hugetlb*" as suggested by
> Joe Perches.
> - Drop the Acked-by: tags from Muchun Song and David Hildenbrand, since
> the patch content changed.
>
> MAINTAINERS | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/MAINTAINERS b/MAINTAINERS
> index fc95062c7e38..5c38da7090db 100644
> --- a/MAINTAINERS
> +++ b/MAINTAINERS
> @@ -12097,7 +12097,7 @@ F: Documentation/admin-guide/mm/hugetlbpage.rst
> F: Documentation/mm/hugetlbfs_reserv.rst
> F: Documentation/mm/vmemmap_dedup.rst
> F: fs/hugetlbfs/
> -F: include/linux/hugetlb.h
> +F: include/linux/hugetlb*
> F: include/linux/vmemmap-optimization.h
> F: include/trace/events/hugetlbfs.h
> F: mm/hugetlb.c
>
> base-commit: 763ad0211c7b587344f03bc4d1299810aeb736f4

Acked-by: David Hildenbrand (Arm) <david@xxxxxxxxxx>

--
Cheers,

David