diff options
author | 2016-06-20 22:33:48 -0300 | |
---|---|---|
committer | 2016-06-27 15:30:41 +0200 | |
commit | b606f189c7d5bf9b875bba168162fe05287880fe (patch) | |
tree | 20a06328aec2cbd036406e0e701cd21324a5f9fc /tools/perf/scripts/python/export-to-postgresql.py | |
parent | KVM: x86: move nsec_to_cycles from x86.c to x86.h (diff) | |
download | wireguard-linux-b606f189c7d5bf9b875bba168162fe05287880fe.tar.xz wireguard-linux-b606f189c7d5bf9b875bba168162fe05287880fe.zip |
KVM: LAPIC: cap __delay at lapic_timer_advance_ns
The host timer which emulates the guest LAPIC TSC deadline
timer has its expiration diminished by lapic_timer_advance_ns
nanoseconds. Therefore if, at wait_lapic_expire, a difference
larger than lapic_timer_advance_ns is encountered, delay at most
lapic_timer_advance_ns.
This fixes a problem where the guest can cause the host
to delay for large amounts of time.
Reported-by: Alan Jenkins <alan.christopher.jenkins@gmail.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions