Messages in this thread | | | Date | Thu, 2 Oct 2014 10:17:17 -0400 | From | Chris Metcalf <> | Subject | Re: [PATCH] tile: add clock_gettime support to vDSO |
| |
On 10/1/2014 5:24 PM, Henrik Austad wrote: > On Tue, Sep 30, 2014 at 03:29:45PM -0400, Chris Metcalf wrote: >> >This change adds support for clock_gettime with CLOCK_REALTIME >> >and CLOCK_MONOTONIC using vDSO. In addition, with this change >> >we switch to use seqlocks instead of integer counters. >> > >> >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 (seehttp://lwn.net/Articles/342018/). >> > >> >Signed-off-by: Chris Metcalf<cmetcalf@tilera.com> > What rev is this based on? When I apply it to Linus latest (aad7fb916), it > fails in arch/tile/kernel/time.c and arch/tile/kernel/vdso/vgettimeofday.c > (see below)
It's based on the linux-tile tree (on kernel.org under cmetcalf/linux-tile.git), which was last synced up at 3.16-rc7. I'll refresh the tree to pick up Thomas's recent changes that were queued for 3.17. Thanks.
-- Chris Metcalf, Tilera Corp. http://www.tilera.com
| |