Re: [PATCH 0/4] selftests/mm: skip several tests when thp is not available

From: David Hildenbrand (Arm)

Date: Thu Mar 12 2026 - 15:40:44 EST


On 3/12/26 12:40, Chunyu Hu wrote:
> There are several tests requires transprarent hugepages, when run on thp
> disabled kernel such as realtime kernel, there will be false positve.
> Mark those tests as skip when thp is not available.

We expend that people that run the tests have the configs as contained in

tools/testing/selftests/mm/config

enabled.

I'm fine with teaching the tests that that is no longer required.

Should we then remove

CONFIG_TRANSPARENT_HUGEPAGE=y

from the file, or leave it in there for people building their configs to
know what to enable for best test coverage? (I doubt people do use it
for that purpose)

--
Cheers,

David