[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20110519135336.GI12317@one.firstfloor.org>
Date: Thu, 19 May 2011 15:53:36 +0200
From: Andi Kleen <andi@...stfloor.org>
To: Andy Lutomirski <luto@....EDU>
Cc: x86@...nel.org, Ingo Molnar <mingo@...e.hu>,
Thomas Gleixner <tglx@...utronix.de>,
linux-kernel@...r.kernel.org, Andi Kleen <andi@...stfloor.org>,
Peter Zijlstra <a.p.zijlstra@...llo.nl>
Subject: Re: [PATCH] x86-64: Add time to vDSO
On Thu, May 19, 2011 at 09:24:48AM -0400, Andy Lutomirski wrote:
> The only fast implementation of time(2) we expose is through the
> vsyscall page and we want to get userspace to stop using the
> vsyscall page. So make it available through the vDSO as well.
User space can just use vgettimeofday() and only take the seconds.
Adding time() too was a mistake back then.
And BTW just for seconds alone you wouldn't need the seqlock.
-Andi
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists