[LTP] [PATCH 05/13] testcases/kernel/mem: Move update_shm_size()

Petr Vorel pvorel@suse.cz
Fri Dec 27 11:34:00 CET 2024


Hi Cyril,

> Move update_shm_size() from the lib to the libhugetlb.c since the
> function is used only by the hugetlb testcases.

Indeed. And the reason why it's not using .save_restore although it sets data in
the setup is that it sets value based on /proc/meminfo "Hugepagesize:" value.

Reviewed-by: Petr Vorel <pvorel@suse.cz>

Kind regards,
Petr


More information about the ltp mailing list