[PATCH 14/14] selftests/timers/auxclock: Test vDSO functionality
Thomas Gleixner
tglx at linutronix.de
Mon Jul 7 06:18:58 PDT 2025
On Mon, Jul 07 2025 at 09:17, Thomas Weißschuh wrote:
> On Sun, Jul 06, 2025 at 10:26:31PM +0200, Thomas Gleixner wrote:
>> On Tue, Jul 01 2025 at 10:58, Thomas Weißschuh wrote:
>>
>> > Extend the auxclock test to also cover the vDSO.
>>
>> I'm not really convinved, that this is the right thing to do. Why can't
>> this just extend selftests/vDSO instead of creating these
>>
>> > +#include "../vDSO/parse_vdso.c"
>> > +#include "../vDSO/vdso_config.h"
>> > +#include "../vDSO/vdso_call.h"
>>
>> cross directory oddities? Confused.
>
> Then we'd have to duplicate the auxclock management into the vDSO selftests.
Fair enough.
> I intend to introduce some vDSO accessors which force the usage of the vDSO
> fastpath by using parse_vdso.c to directly call into the vDSO and seccomp to
> inhibit the fallback syscalls.
>
> Or, to avoid a dependency we could move the vDSO parsing one step up to
> tools/testing/selftests/vdso_support.h, and clean up the interfaces.
Maybe that's not the worst thing as there are VDSO tests in several
places by now.
Thanks,
tglx
More information about the linux-arm-kernel
mailing list