[parisc-linux] Re: [parisc-linux-cvs] linux-2.6.git: Changes to 'master'

Helge Deller deller at gmx.de
Wed Jan 3 13:26:46 MST 2007


On Wed Jan 3 2007, James Bottomley wrote:
> On Tue, 2007-01-02 at 15:54 -0700, Helge Deller wrote: 
> >     GENERIC_TIME patchset for parisc
> >     
> >     Signed-off-by: Helge Deller <deller at gmx.de>
> 
> This doesn't look to be correct for the SMP case ... get_cycle() returns
> the current CPU  %cr16, but these values are completely uncorrelated
> between different CPUs (and may even move differently for cell based
> systems).  Don't we either have to have some complex interpolator for
> the per CPU variations of %cr16 or just not do %cr16 based cycle
> interpretation on SMP systems?

Short update for people reading this mailing list (and not following git commits):
James helped me to work around that problem.
It's fixed now in our git tree with this patch:
http://git.parisc-linux.org/?p=linux-2.6.git;a=commit;h=f70a979c843e4610edfb2a316648fe8ae8718f69

gettimeofday() should now return monotonic times for UP and SMP machines.

Helge



More information about the parisc-linux mailing list