Re: [PATCH] tile: add clock_gettime support to vDSO

From: Chris Metcalf
Date: Thu Oct 02 2014 - 10:17:24 EST


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@xxxxxxxxxx>
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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/