Re: [tip:tracing/ftrace] tracing: implement trace_clock_*() APIs

From: Ingo Molnar
Date: Thu Feb 26 2009 - 12:58:32 EST



* Frederic Weisbecker <fweisbec@xxxxxxxxx> wrote:

> I missed this one.

because i just posted it :)

> Wouldn't your previous idea of a cmpxchg global clock be
> better? Perhaps it would scale better while tracing on many
> cpus.

a cmpxchg global clock has exactly the same cacheline-bouncing
properties as the lock here, so there's no real difference.

Ingo
--
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/