Re: [PATCH 2/9] s390/vtime: Fix virtual timer forwarding

From: Frederic Weisbecker

Date: Wed Mar 04 2026 - 09:26:05 EST


Le Wed, Feb 18, 2026 at 03:20:05PM +0100, Heiko Carstens a écrit :
> 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: b7394a5f4ce9 ("sched/cputime, s390: Implement delayed accounting of system time") [1]
> Signed-off-by: Heiko Carstens <hca@xxxxxxxxxxxxx>

Reviewed-by: Frederic Weisbecker <frederic@xxxxxxxxxx>

--
Frederic Weisbecker
SUSE Labs