]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] improve idle cputime accounting
authorMartin Schwidefsky <schwidefsky@de.ibm.com>
Wed, 31 Dec 2008 14:11:41 +0000 (15:11 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Wed, 31 Dec 2008 14:11:48 +0000 (15:11 +0100)
commit9cfb9b3c3a7361c793c031e9c3583b177ac5debd
treeb735c71e6fee3fd1464c21ce53f93d98ceddf90d
parent6f43092441bda528dd38f2dc6c1e2522c5079fb7
[PATCH] improve idle cputime accounting

Distinguish the cputime of the idle process where idle is actually using
cpu cycles from the cputime where idle is sleeping on an enabled wait psw.
The former is accounted as system time, the later as idle time.

Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/include/asm/cpu.h
arch/s390/include/asm/timer.h
arch/s390/kernel/entry.S
arch/s390/kernel/entry64.S
arch/s390/kernel/process.c
arch/s390/kernel/s390_ext.c
arch/s390/kernel/vtime.c
drivers/s390/cio/cio.c
drivers/s390/s390mach.c