[LTP] [RFC] [PATCH] syscalls/madvise09: Fix TCONF propagation, remove .min_kver
Jan Stancek
jstancek@redhat.com
Fri Oct 6 16:31:24 CEST 2017
----- Original Message -----
> This patch fixes TCONF propagation from the child to parent, the parent
> have to handle the TCONF exit value.
>
> And it also removes the .min_kver in order to enable the test on
> distribution kernels that backported the MADV_FREE. Older kernels are
> handled by the runtime EINVAL detection or will TCONF at the check for
> memory cgroup support, so there is no real need to keep the .min_kver in
> the source code.
>
> Signed-off-by: Cyril Hrubis <chrubis@suse.cz>
Looks good to me:
# ./madvise09
tst_test.c:937: INFO: Timeout per run is 0h 05m 00s
madvise09.c:186: CONF: MADV_FREE is not supported: EINVAL
madvise09.c:310: CONF: MADV_FREE is not supported
Regards,
Jan
More information about the ltp
mailing list