[PATCH] 2.6 timebase synchronization

Samuel Rydh samuel at ibrium.se
Sat Aug 9 21:48:02 EST 2003


On Sat, Aug 09, 2003 at 10:58:11AM +0200, Benjamin Herrenschmidt wrote:
> I'm on vacation now, I can't test it until I'm back, but that
> looks quite good overall (except maybe the MacOS-like constant
> naming for kXXXX :)
>
> However, does it work with more than 2 CPUs ?

Yes, it does. The code simply passes the timestamp from CPU0
to the one currently beeing booted (the CPU0 timebase is
not affected).

> It seem to be rather
> dual CPU centric from my understanding of the ack mecanism...

Only a pair of CPUs are synchronized simultaneously, yes. But there
is absolutely no need to synchronize more than two at the same.
Besides, CPU2 is not started until CPU1 has booted...

/Samuel

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/





More information about the Linuxppc-dev mailing list