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

Chunyu Hu
2026-03-14T00:22:31Z

On Fri, Mar 13, 2026 at 03:40:14PM +0000, Lorenzo Stoakes (Oracle) wrote:
> On Fri, Mar 13, 2026 at 05:19:20PM +0200, Mike Rapoport wrote:
> > On Fri, Mar 13, 2026 at 08:26:02AM +0800, Chunyu Hu wrote:
> > > On Thu, Mar 12, 2026 at 04:03:59PM +0200, Mike Rapoport wrote:
> > > > On Thu, Mar 12, 2026 at 07:40:23PM +0800, 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.
> > > >
> > > > I presume that when THP tests run on kernels with THP disabled they fail
> > > > and it would be a false negative rather than false positive.
> > >
> > > This is an interesting point. I'm not naitive speaker. I just learned
> > > from AI. It really matters what we define as 'postive'. I presume 'postive'
> > > is we run selftest and got a failure report, that's postive, not thinking
> > > as it's thp disabled kernel and a 'pass' is postive.
> >
> > I think that a passing test is "positive" and a failing test is "negative".
> > So a test that fails because of misconfiguration is a false negative to me.
>
> (Ostensibly native speaker here :P)
>
> Yes.
>
> False positive = the test passed when it should have failed.
> False negative = The test failed when it should have passed.

Ok. Thank you for clarify. I'll use 'false netative' instead .

>
> Cheers, Lorenzo
>