[LTP] [PATCH v2 3/5] Hugetlb: Migrating libhugetlbfs fadvise_reserve

Cyril Hrubis chrubis@suse.cz
Thu Nov 10 08:34:05 CET 2022

> Yes. I am thinking of adding it to tst_safe_macros (SAFE_POSIX_FADVISE).
> But there are other tests, that uses it raw
> (https://github.com/linux-test-project/ltp/blob/master/testcases/kernel/syscalls/mincore/mincore04.c).
> Was there any reason to not create a SAFE_MACROS for it?

I do not think so, we started adding safe macros for the most common
calls and slowly moved to the less common. There are still plenty of
calls that should have been added and tests converted to use them.

Cyril Hrubis

More information about the ltp mailing list