[PATCH 16/27] arm64: compat: Add vDSO

From
Arnd Bergmann <arnd@arndb.de>
Date
2018-11-09 16:23:45
Also in
linux-arch
Reply to
Vincenzo Frascino, 2018-11-09
On Fri, Nov 9, 2018 at 1:38 PM Vincenzo Frascino
[off-list ref] wrote:
quoted hunk ↗ jump to hunk
+
+static __always_inline notrace int gettimeofday_fallback(struct timeval *_tv,
+                                                        struct timezone *_tz)
Corresponding to what I said about the native syscalls, this should
eventually use 'old_timeval32' here.
+static __always_inline notrace long clock_gettime_fallback(clockid_t _clkid,
+                                                          struct timespec *_ts)
and 'old_timespec32' here.

We could do those changes as a follow-up, but since you change that code
already, we could just as well do it now.

Then there is the question about the replacement. I don't see a need for
64-bit versions of time, gettimeofday or clock_getres, but we definitely want
a new clock_gettime. This probably has to wait until we have assigned a
syscall number (for the fallback implementation), just mentioning it now
so we keep it in mind.

      Arnd
Thread (48 messages) 48 messages, 5 authors, last reply 2018-11-23
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help