Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-10-02 | tile: add clock_gettime support to vDSO | Chris Metcalf | |
This change adds support for clock_gettime with CLOCK_REALTIME and CLOCK_MONOTONIC using vDSO. It also updates the vdso struct nomenclature used for the clocks to match the x86 code to keep it easier to update going forward. We also support the *_COARSE clockid_t, for apps that want speed but aren't concerned about fine-grained timestamps; this saves about 20 cycles per call (see http://lwn.net/Articles/342018/). Signed-off-by: Chris Metcalf <cmetcalf@tilera.com> Acked-by: John Stultz <john.stultz@linaro.org> | |||
2014-10-02 | tile: switch to using seqlocks for the vDSO time code | Chris Metcalf | |
Signed-off-by: Chris Metcalf <cmetcalf@tilera.com> | |||
2013-08-13 | tile: implement gettimeofday() via vDSO | Chris Metcalf | |
This change creates the framework for vDSO calls, makes the existing rt_sigreturn() mechanism use it, and adds a fast gettimeofday(). Now that we need to expose the vDSO address to userspace, we add AT_SYSINFO_EHDR to the set of aux entries provided to userspace. (You can disable any extra vDSO support by booting with vdso=0, but the rt_sigreturn vDSO page will still be provided.) Note that glibc has supported the tile vDSO since release 2.17. Signed-off-by: Chris Metcalf <cmetcalf@tilera.com> |