[LTP] [PATCH v2 02/13] thp: ensure THP/hugetlbfs is available

Cyril Hrubis chrubis@suse.cz
Wed Nov 29 15:34:08 CET 2017

> >> The test passes even if THP is not enabled on the test kernel. This
> >> gives the false impression that THP is working as expected.
> >> 
> >> The explicit check is making sure the functionality under test is is
> >> enabled in the test kernel.
> >
> > I see where that came from, but I do not think that the test name is a
> > reason to disable this stress test. However I'm not sure if there is a
> > better name for the test. I guess that we may possibly move it to the
> > cve directory.
> >
> So you're saying the test should run irrespective of whether THP is
> enabled or not in the kernel. I'll drop the thp01.c hunk from this patch
> then.

Exactly, it's basically test that tries to pass as large argument list
to exec() as possible, the fact that this has been broken with THP
enabled does not make it irrelevant for kernel without it.

Cyril Hrubis

More information about the ltp mailing list