Skip to content
Commit e1c80530 authored by Martin Schwidefsky's avatar Martin Schwidefsky
Browse files

[S390] /proc/stat idle field for idle cpus



The cpu idle field in the output of /proc/stat is too small for cpus
that have been idle for more than a tick. Add the architecture hook
arch_idle_time that allows to add the not accounted idle time of a
sleeping cpu without waking the cpu.

The s390 implementation of arch_idle_time uses the already existing
s390_idle_data per_cpu variable to find the sleep time of a neighboring
idle cpu.

Signed-off-by: default avatarMartin Schwidefsky <schwidefsky@de.ibm.com>
parent b1ad171e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment