diff options
author | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2016-12-20 09:27:59 +0300 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2016-12-20 17:22:56 +0300 |
commit | 8f2b468aadc81ca0fc78e41696b648e30d91ba5c (patch) | |
tree | 6908c5d1c11e29847a371567ed5ec09d08707bd4 /block | |
parent | e93b1cc8a8965da137ffea0b88e5f62fa1d2a9e6 (diff) | |
download | linux-8f2b468aadc81ca0fc78e41696b648e30d91ba5c.tar.xz |
s390/vtime: correct system time accounting
There is a slight misaccounting of system time in vtime_account_user.
This function is called once per HZ tick in interrupt context.
The irq_enter function already accounted the system time up to the
point of the irq_enter call. The system time from irq_enter until
vtime_account_user/do_account_vtime is reached is irq time but it
is accounted to the previous context.
Just drop the hardirq offset from arch/s390/kernel/vtime.c.
Reported-by: Frederic Weisbecker <fweisbec@gmail.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions