diff options
| author | Martin Schwidefsky <[email protected]> | 2016-12-20 06:27:59 +0000 |
|---|---|---|
| committer | Martin Schwidefsky <[email protected]> | 2016-12-20 14:22:56 +0000 |
| commit | 8f2b468aadc81ca0fc78e41696b648e30d91ba5c (patch) | |
| tree | 6908c5d1c11e29847a371567ed5ec09d08707bd4 /net/unix/af_unix.c | |
| parent | Merge branch 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jac... (diff) | |
| download | kernel-8f2b468aadc81ca0fc78e41696b648e30d91ba5c.tar.gz kernel-8f2b468aadc81ca0fc78e41696b648e30d91ba5c.zip | |
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 <[email protected]>
Signed-off-by: Martin Schwidefsky <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
