Subject: Re: Need help with timecounters/todr
To: Jason Thorpe <thorpej@shagadelic.org>
From: Frank Kardel <kardel@netbsd.org>
List: port-alpha
Date: 09/22/2006 06:41:01
Jason Thorpe wrote:
>
> On Sep 19, 2006, at 6:31 AM, Garrett D'Amore wrote:
>
>> This was exactly the part I wasn't sure about.  I _think_ this should be
>> done (or similar logic) as part of timecounters -- i.e. each processor
>> needs to have some kind of synchronization -- probably implementing the
>> tc_pps method for timecounters.  I'm not an alpha expert though, so I'm
>> not 100% sure.
>
> I think Frank needs to step in here and take a look.
Ok, I'll take a look at that. Solutions probably lie along the line of 
the TSC
code which is basically the old Mills strategy. Tests still need to be done
on actual hardware.
>   I am NOT a time-keeping expert by any means (my copyright notice at 
> the top of kern_microtime.c not withstanding; I was mostly adopting 
> Mills' code to our kernel).
>
> -- thorpej

Frank