]> git.baikalelectronics.ru Git - kernel.git/commit
[S390] boot cputime accounting
authorMartin Schwidefsky <schwidefsky@de.ibm.com>
Tue, 14 Apr 2009 13:36:29 +0000 (15:36 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Tue, 14 Apr 2009 13:37:27 +0000 (15:37 +0200)
commite58d4151c3010b797b5feb9f7d81ebe82c36db64
tree4b3558bc97f5c2fc5c63789431deef79534e3bd3
parent5c8022f39bc0f40215bf340ddd9ded54c9e13de9
[S390] boot cputime accounting

Start the cpu time accounting very early to catch the cpu time spent
for the initial kernel setup. To make the output of /proc/uptime
match the sum of all cpu accounting values of the boot cpu reset
xtime and wall_to_monotonic to sane values based on the TOD clock.
The values set by timekeeping_init are off by up to a second.

Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/kernel/head.S
arch/s390/kernel/setup.c
arch/s390/kernel/time.c
arch/s390/kernel/vtime.c