[POWERPC] Simplify smp_space_timers
authorwill schmidt <will_schmidt@vnet.ibm.com>
Fri, 11 May 2007 13:34:16 +0000 (23:34 +1000)
committerPaul Mackerras <paulus@samba.org>
Sat, 12 May 2007 01:32:47 +0000 (11:32 +1000)
commite147ec8f18082efb700763bed4fe24f73ca50a2c
tree58bfbafbffe4c9d2e993ed66b51472fcb82b2798
parent435e0b2b165bcac86eeddf675383070f60587cbb
[POWERPC] Simplify smp_space_timers

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: Will Schmidt <will_schmidt@vnet.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/kernel/time.c