Messages in this thread | | | Date | Tue, 26 Jun 2007 12:20:06 +1000 | From | Stephen Rothwell <> | Subject | Re: [patch, v2.6.22-rc6] sys_time() speedup |
| |
On Mon, 25 Jun 2007 15:15:08 -0700 Andrew Morton <akpm@linux-foundation.org> wrote: > > On Mon, 25 Jun 2007 23:09:46 +0200 > Roman Zippel <zippel@linux-m68k.org> wrote: > > > On Monday 25 June 2007, Ingo Molnar wrote: > > > > > the patch improves the sysbench OLTP macrobenchmark significantly: > > > > Has that any real practical relevance? > > Interesting question. The patch adds a new test-n-branch to gettimeofday() > so if gettimeofday() is used much more frequently than time(), we lose.
Isn't gettimeofday() called *lots* by the X server and programs - one of the reasons we bother putting it in the VDSO.
-- Cheers, Stephen Rothwell sfr@canb.auug.org.au http://www.canb.auug.org.au/~sfr/ [unhandled content-type:application/pgp-signature] | |