[LTP] [PATCH] lib/mem.c: exit from test_transparent_hugepage() if shortage of memory
Cyril Hrubis
chrubis@suse.cz
Thu Feb 4 17:18:05 CET 2016
Hi!
> I recall a similar testcase thp04.c which had been removed not long ago,
> commit 19cdd120b43aa6a6a4993b61e6ef675d1cdf04b4
>
> after read the words written by Michal Ho, and I found these two (thp04/05)
> cases are facing with very similar issue.
>
> now I doubt if we can really trust thp05 result PASS/FAIL for LTP, remove
> it or keep using(just reducing the nr_thps value)?
>
> http://article.gmane.org/gmane.linux.ltp/23104
The test is indeed nearly the same as thp04 and it suffers the same
problem as thp04. Let's remove it (along with the functions from
testcases/kernel/mem/lib/mem.c that would be unused after the removal.
--
Cyril Hrubis
chrubis@suse.cz
More information about the Ltp
mailing list