Thread (5 messages) flat view 5 messages, 2 authors, 2020-04-13

Re: [PATCH vdsotest] Use vdso wrapper for gettimeofday()

From: Christophe Leroy <hidden>
Date: 2020-01-16 17:59:56
Also in: lkml


Le 16/01/2020 à 17:56, Nathan Lynch a écrit :
Hi Christophe,

Christophe Leroy [off-list ref] writes:
quoted
To properly handle errors returned by gettimeofday(), the
DO_VDSO_CALL() macro has to be used, otherwise vdsotest
misinterpret VDSO function return on error.

This has gone unnoticed until now because the powerpc VDSO
gettimeofday() always succeed, but while porting powerpc to
generic C VDSO, the following has been encountered:
Thanks for this, I'll review it soon.

Can you point me to patches for the powerpc generic vdso work?
Sure.

v3 is at 
https://patchwork.ozlabs.org/project/linuxppc-dev/list/?series=152867

I added you in v4 destinees.

Christophe
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help