[S390] lockless idle time accounting
authorMartin Schwidefsky <schwidefsky@de.ibm.com>
Mon, 22 Jun 2009 10:08:20 +0000 (12:08 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Mon, 22 Jun 2009 10:08:23 +0000 (12:08 +0200)
commite98bbaafcd1c47d30f3245517fb585f1aaaca4db
tree8c8c88910db0197acc92bf1ddef999816f1a778b
parent4f0076f77fb64889d4e5e425b63333e5764b446d
[S390] lockless idle time accounting

Replace the spinlock used in the idle time accounting with a sequence
counter mechanism analog to seqlock.

Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/include/asm/cputime.h
arch/s390/kernel/smp.c
arch/s390/kernel/vtime.c