[LTP] [PATCH] hugetlb: fix warnings in cleanup()
Li Wang
liwang@redhat.com
Fri Dec 1 04:05:05 CET 2017
On Thu, Nov 30, 2017 at 10:50 PM, Cyril Hrubis <chrubis@suse.cz> wrote:
> 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?
Agree! Thanks a lot.
--
Li Wang
liwang@redhat.com
More information about the ltp
mailing list