Re: [PATCH POC] prctl: extend PR_SET_THP_DISABLE to optionally exclude VM_HUGEPAGE

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Jul 22, 2025 at 12:23:04PM +0200, David Hildenbrand wrote:
> On 21.07.25 19:27, Usama Arif wrote:
> >   tools/testing/selftests/prctl/Makefile      |   2 +-
> >   tools/testing/selftests/prctl/thp_disable.c | 207 ++++++++++++++++++++
>
> Like SJ says, this should better live under mm, then we can also make use of
> check_huge_anon() and vm_utils.c and probably also THP helpers from
> thp_settings.h. Most of the helpers you use should be available in some form
> there already.

*A wild Lorenzo appears*

I mean everyone's saying the same thing, but you'd almost be disappointed
if I didn't say here 'pleeeease keep as much of this in mm as possible'
also :P

Thanks for taking this on and writing the test Usama! :)

Cheers, Lorenzo




[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [NTFS 3]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [NTFS 3]     [Samba]     [Device Mapper]     [CEPH Development]

  Powered by Linux