Re: [PATCH 2/3] kselftest: Extend vDSO selftest
From: Andy Lutomirski
Date: Tue Mar 24 2020 - 13:22:33 EST
On Tue, Mar 24, 2020 at 7:51 AM Vincenzo Frascino
<vincenzo.frascino@xxxxxxx> wrote:
>
> The current version of the multiarch vDSO selftest verifies only
> gettimeofday.
>
> Extend the vDSO selftest to the other library functions:
> - time
> - clock_getres
> - clock_gettime
>
> The extension has been used to verify the unified vdso library on the
> supported architectures.
The code in tools/testing/selftests/x86/test_vdso.c actually checks
that the times returned by the vDSO are correct. Perhaps that code
should be copied or moved here?