Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1477856
| From | Paolo Bonzini <pbonzini@redhat.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH v2 0/2] if running under KVM, use kvmclock to compute TSC deadline value |
| Date | 2016-09-07 00:40 +0200 |
| Message-ID | <sexc5-8bZ-5@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
v1 posted here: https://patchwork.kernel.org/patch/9214993/ The motivation for this patch is in patch 2 (or you can read it from v1). This version is larger but the hooks into apic.c are cleaner than in v1. Instead of arranging for kvmclock to replace only a small part of setup_apic_timer, it registers its own clockevent. The downside is that kvmclock now needs to hook into the LAPIC timer interrupt to invoke the event_handler of the new clockevent, but this is pretty straightforward with a new pvop (assuming the introduction of new pvops is straightforward at all). Thanks, Paolo Paolo Bonzini (2): x86: paravirt: add local_apic_timer_interrupt to pv_ops x86, kvm: use kvmclock to compute TSC deadline value arch/x86/include/asm/apic.h | 2 + arch/x86/include/asm/paravirt.h | 5 ++ arch/x86/include/asm/paravirt_types.h | 1 + arch/x86/kernel/apic/apic.c | 4 +- arch/x86/kernel/kvmclock.c | 156 ++++++++++++++++++++++++++++++++++ arch/x86/kernel/paravirt.c | 1 + 6 files changed, 167 insertions(+), 2 deletions(-) -- 1.8.3.1
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
[PATCH v2 0/2] if running under KVM, use kvmclock to compute TSC deadline value Paolo Bonzini <pbonzini@redhat.com> - 2016-09-07 00:40 +0200
[PATCH 2/2] x86, kvm: use kvmclock to compute TSC deadline value Paolo Bonzini <pbonzini@redhat.com> - 2016-09-07 00:40 +0200
Re: [PATCH 2/2] x86, kvm: use kvmclock to compute TSC deadline value David Matlack <dmatlack@google.com> - 2016-09-09 00:20 +0200
[PATCH 1/2] x86: paravirt: add local_apic_timer_interrupt to pv_ops Paolo Bonzini <pbonzini@redhat.com> - 2016-09-07 00:40 +0200
Re: [PATCH 1/2] x86: paravirt: add local_apic_timer_interrupt to pv_ops kbuild test robot <lkp@intel.com> - 2016-09-07 08:30 +0200
Re: [PATCH 1/2] x86: paravirt: add local_apic_timer_interrupt to pv_ops kbuild test robot <lkp@intel.com> - 2016-09-07 08:40 +0200
csiph-web