Re: [PATCH] powerpc: Fix race in the pasemi timebase calibration

2007-08-21 Thread Olof Johansson
On Wed, Aug 22, 2007 at 11:27:33AM +1000, Paul Mackerras wrote: > Olof Johansson writes: > > > Make sure the new timebase value is available by the time take_timebase > > completes. Otherwise take_timebase might race with give_timebase, > > causing severe badness when the value later is modified (

Re: [PATCH] powerpc: Fix race in the pasemi timebase calibration

2007-08-21 Thread Paul Mackerras
Olof Johansson writes: > Make sure the new timebase value is available by the time take_timebase > completes. Otherwise take_timebase might race with give_timebase, > causing severe badness when the value later is modified (think looong > hang trying to catch up with a very large number of lost ti

[PATCH] powerpc: Fix race in the pasemi timebase calibration

2007-08-21 Thread Olof Johansson
Make sure the new timebase value is available by the time take_timebase completes. Otherwise take_timebase might race with give_timebase, causing severe badness when the value later is modified (think looong hang trying to catch up with a very large number of lost ticks). This has shown up lately,