Re: [PATCH] time: Add locking to xtime access in get_seconds()

Eric Dumazet
2011-05-05T06:50:38Z

Le mercredi 04 mai 2011 à 23:21 -0700, john stultz a écrit :

> Would a comment to the effect of "ensure processors don't re-order calls
> to get_seconds" help, or is it still too opaque (or even still
> nonsense?).
>

Where is corresponding smp_wmb() ? It's not obvious, so you must add a
comment to help reader of this code.