[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <46805C4F.1050200@rtr.ca>
Date: Mon, 25 Jun 2007 20:22:39 -0400
From: Mark Lord <lkml@....ca>
To: Ingo Molnar <mingo@...e.hu>
Cc: linux-kernel@...r.kernel.org,
Andrew Morton <akpm@...ux-foundation.org>,
John Stultz <johnstul@...ibm.com>,
Thomas Gleixner <tglx@...utronix.de>
Subject: Re: [patch, v2.6.22-rc6] sys_time() speedup
Ingo Molnar wrote:
> Subject: [patch] sys_time() speedup
> From: Ingo Molnar <mingo@...e.hu>
>
> improve performance of sys_time(). sys_time() returns time in seconds,
> but it does so by calling do_gettimeofday() and then returning the
> tv_sec portion of the GTOD time. But the data structure "xtime", which
> is updated by every timer/scheduler tick, already offers HZ granularity
> time.
How well synchronized is xtime with real-time ?
Programs invoking sys_time() do expect it to be as accurate
as gettimeofday(), even if only at 1-second boundaries.
Cheers
-
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