commit | 2dbd780e34ac53e79c6c359ce12b89ed665ef562 | [log] [tgz] |
---|---|---|
author | Andrew Jones <drjones@redhat.com> | Tue Aug 04 19:06:00 2020 +0200 |
committer | Marc Zyngier <maz@kernel.org> | Fri Aug 21 14:04:14 2020 +0100 |
tree | 6cf98418dfa7d1f93a3888324920e8a68b56259d | |
parent | 38480df564cc68f081bb38998927d164b9010995 [diff] |
KVM: arm64: pvtime: Fix potential loss of stolen time We should only check current->sched_info.run_delay once when updating stolen time. Otherwise there's a chance there could be a change between checks that we miss (preemption disabling comes after vcpu request checks). Signed-off-by: Andrew Jones <drjones@redhat.com> Signed-off-by: Marc Zyngier <maz@kernel.org> Link: https://lore.kernel.org/r/20200804170604.42662-3-drjones@redhat.com