[LTP] [PATCH] hugetlb: fix warnings in cleanup()

Cyril Hrubis chrubis@suse.cz
Thu Nov 30 15:50:27 CET 2017


Hi!
The fix is OK, but we may as well do it better, if we move completly the
logic to the library we do not have to repeat the code in each test.

So what about adding two functions save_nr_hugepages() and
restore_nr_hugepages() to the library and call these from the test setup
and cleanup?

-- 
Cyril Hrubis
chrubis@suse.cz


More information about the ltp mailing list