qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [RFC 0/5] run hpet on a dedicated thread
@ 2013-09-12  5:24 Liu Ping Fan
  2013-09-12  5:24 ` [Qemu-devel] [PATCH 1/5] irq: introduce route method in IRQState to get gsi Liu Ping Fan
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Liu Ping Fan @ 2013-09-12  5:24 UTC (permalink / raw)
  To: qemu-devel; +Cc: Paolo Bonzini, Stefan Hajnoczi, Anthony Liguori, Jan Kiszka

Nowadays, we run hpet on iothread. But there are so many undetermined jobs
on iothread. It will heavily affect the accuracy of hpet's timing.
When running on a dedicated thread, the accuracy of timing is only determined
by scheduler. which is more fixed.

This series depend on the thread-safe patches for timers. 
And it is just for discussion. And code is premature.


Liu Ping Fan (5):
  irq: introduce route method in IRQState to get gsi
  irq: implement route method of ioapic
  irqfd: equip irqfd with polarity
  hpet: deliver irq by irqfd when in dedicated thread mode
  hpet: run on dedicate thread

 hw/core/irq.c             | 39 ++++++++++++++++++++++
 hw/core/qdev.c            |  8 +++++
 hw/i386/kvm/i8259.c       |  8 ++++-
 hw/i386/kvm/ioapic.c      | 21 +++++++++++-
 hw/i386/pc_q35.c          |  4 +--
 hw/misc/vfio.c            |  4 +--
 hw/timer/hpet.c           | 85 ++++++++++++++++++++++++++++++++++++++++++++---
 hw/virtio/virtio-pci.c    |  2 +-
 include/hw/irq.h          |  5 +++
 include/hw/qdev-core.h    |  2 ++
 include/sysemu/kvm.h      |  4 ++-
 kvm-all.c                 | 14 ++++----
 linux-headers/linux/kvm.h |  3 ++
 13 files changed, 180 insertions(+), 19 deletions(-)

-- 
1.8.1.4

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2013-09-12  5:26 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-09-12  5:24 [Qemu-devel] [RFC 0/5] run hpet on a dedicated thread Liu Ping Fan
2013-09-12  5:24 ` [Qemu-devel] [PATCH 1/5] irq: introduce route method in IRQState to get gsi Liu Ping Fan
2013-09-12  5:24 ` [Qemu-devel] [PATCH 2/5] irq: implement route method of ioapic Liu Ping Fan
2013-09-12  5:24 ` [Qemu-devel] [PATCH 3/5] irqfd: equip irqfd with polarity Liu Ping Fan
2013-09-12  5:24 ` [Qemu-devel] [PATCH 4/5] hpet: deliver irq by irqfd when in dedicated thread mode Liu Ping Fan
2013-09-12  5:24 ` [Qemu-devel] [PATCH 5/5] hpet: run on dedicate thread Liu Ping Fan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).