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

Petr Vorel
2024-12-27T10:34:25Z

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