[PATCH] s390: cputime misaccounting
commit1f1c12afe5c3e0ef901eec12dee09df4947462ee
authorMartin Schwidefsky <schwidefsky@de.ibm.com>
Sat, 14 Jan 2006 21:21:03 +0000 (14 13:21 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sun, 15 Jan 2006 02:27:09 +0000 (14 18:27 -0800)
tree157f01441ef5ddc0810d0bfebca4667c21254529
parentbcc132651d384ad115a275868effb49c64b348ce
[PATCH] s390: cputime misaccounting

finish_arch_switch needs to update the user cpu time as well, not just the
system cpu time.  Otherwise the partial user cpu time of a process that is
stored in the lowcore will be (mis-)accounted to the next process.

Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/s390/kernel/time.c
arch/s390/kernel/vtime.c
include/asm-s390/system.h
include/linux/hardirq.h