[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v2 0/3] iothread and irqfd support
From: |
Jinhao Fan |
Subject: |
[PATCH v2 0/3] iothread and irqfd support |
Date: |
Fri, 26 Aug 2022 23:12:02 +0800 |
This patch series adds support for using a seperate iothread for NVMe
IO emulation, which brings the potential of applying polling. The
first two patches implements support for irqfd, which solves thread
safety problems for interrupt emulation outside the main loop thread.
Changes since v1:
- Avoid duplicate initilization of cq timer
Jinhao Fan (3):
hw/nvme: support irq(de)assertion with eventfd
hw/nvme: use KVM irqfd when available
hw/nvme: add iothread support
hw/nvme/ctrl.c | 328 +++++++++++++++++++++++++++++++++++++++----
hw/nvme/ns.c | 21 ++-
hw/nvme/nvme.h | 12 +-
hw/nvme/trace-events | 3 +
4 files changed, 335 insertions(+), 29 deletions(-)
--
2.25.1
- [PATCH v2 0/3] iothread and irqfd support,
Jinhao Fan <=
[PATCH v2 3/3] hw/nvme: add iothread support, Jinhao Fan, 2022/08/26