Commit a9e7152
s390/vtime: Fix virtual timer forwarding
[ Upstream commit dbc0fb3 ]
Since delayed accounting of system time [1] the virtual timer is
forwarded by do_account_vtime() but also vtime_account_kernel(),
vtime_account_softirq(), and vtime_account_hardirq(). This leads
to double accounting of system, guest, softirq, and hardirq time.
Remove accounting from the vtime_account*() family to restore old behavior.
There is only one user of the vtimer interface, which might explain
why nobody noticed this so far.
Fixes: b7394a5 ("sched/cputime, s390: Implement delayed accounting of system time") [1]
Reviewed-by: Sven Schnelle <svens@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>1 parent 0d38547 commit a9e7152
1 file changed
+2
-16
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
225 | 225 | | |
226 | 226 | | |
227 | 227 | | |
228 | | - | |
229 | | - | |
230 | | - | |
231 | | - | |
232 | 228 | | |
233 | 229 | | |
234 | 230 | | |
| |||
238 | 234 | | |
239 | 235 | | |
240 | 236 | | |
241 | | - | |
242 | | - | |
243 | 237 | | |
244 | 238 | | |
245 | 239 | | |
246 | 240 | | |
247 | 241 | | |
248 | | - | |
249 | | - | |
250 | | - | |
251 | | - | |
252 | | - | |
| 242 | + | |
253 | 243 | | |
254 | 244 | | |
255 | 245 | | |
256 | 246 | | |
257 | | - | |
258 | | - | |
259 | | - | |
260 | | - | |
261 | | - | |
| 247 | + | |
262 | 248 | | |
263 | 249 | | |
264 | 250 | | |
| |||
0 commit comments