• will schmidt's avatar
    [POWERPC] Simplify smp_space_timers · e147ec8f
    will schmidt authored
    Greatly simplify the function smp_space_timers.
    
    The stolen time calculation (per comment within the code) doesn't need the
    half-jiffy stagger any more.  There isn't an issue with bouncing off global
    locks, so we really shouldn't need any sort of staggering at all.
    
    However, the last_jiffy value still needs to be set.   This removes the
    extra stagger logic, and just sets the values.
    
    This change should benefit applications that rely on barrier
    synchronization, and will help cut down OS jitter.
    
    Boot tested across the board (G5,power3,power4,power5,970mp blade).
    Signed-off-by: default avatarWill Schmidt <will_schmidt@vnet.ibm.com>
    Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
    e147ec8f
time.c 31.6 KB