[LTP] [PATCH] kernel/hugemmap05.c: Skip test when default Hugepagesize 1G

Cyril Hrubis chrubis@suse.cz
Mon Apr 25 13:53:01 CEST 2022


Hi!
> The kernel is not allow to change the file that
> /proc/sys/vm/nr_overcommit_hugepages,
> when default Hugepagesize 1G,so the testcase
> will be fail when close it.

I'm not sure what the exact problem is, but I guess that there is not
enough (continuous) memory to enable the overcommit, right?

In that case disabling the test on 1GB hugepages is certainly wrong.
What errno do we get if we attempt to close the file?

-- 
Cyril Hrubis
chrubis@suse.cz


More information about the ltp mailing list