2 ms·
Linux also has a vDSO, and a man page explaining it rather well: http://man7.org/linux/man-pages/man7/vdso.7.html http://man7.org/linux/man-pages/man7/vdso.7.h
by twic 11y ago
Linux also has a vDSO, and a man page explaining it rather well:
http://man7.org/linux/man-pages/man7/vdso.7.html http://man7.org/linux/man-pages/man7/vdso.7.html
It seems the main reason is to make gettimeofday and friends faster. On the x86-64, the vDSO contains the following system calls:
clock_gettime
getcpu
gettimeofday
time
Namely, system calls were latency really matters.