Re: [PATCH 1/2] mm: huge_memory: refactor thpsize_shmem_enabled_store() with sysfs_match_string()

From: Lorenzo Stoakes

Date: Wed May 13 2026 - 05:51:01 EST


On Wed, May 13, 2026 at 11:38:21AM +0200, David Hildenbrand (Arm) wrote:
> On 5/13/26 11:03, Lorenzo Stoakes wrote:
> > +cc David also!
> >
> > Unfortunately we put some hugetlb logic in mm/shmem.c too which makes
> > get_maintainers.pl not do the right thing.
> >
> > I wonder if we should add mm/shmem.c to the THP section _also_ just to cover
> > this off?
>
> I'd rather not. Too much noise :)

Haha fair enough... maybe we should move this stuff to huge_memory.c or
something, but not sure if that makes sense.

Not a _hugely_ big deal though tbh!

>
> --
> Cheers,
>
> David

Cheers, Lorenzo