Skip to content

First threading model.

Arun R Bharadwaj qemu-devel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6This patch converts v9fs_stat() to make use of the threadlets infrastructure.hw/virtio-9p.c hw/virtio-9p.h+28 -120 replies
2/6This patch converts v9fs_wstat() to make use of the threadlets infrastructure.hw/virtio-9p.c hw/virtio-9p.h+243 -550 replies
3/6This patch converts v9fs_read() to make use of the threadlets infrastructure.hw/virtio-9p.c hw/virtio-9p.h+164 -590 replies
4/6This patch converts v9fs_write() to make use of the threadlets infrastructure.hw/virtio-9p.c hw/virtio-9p.h+37 -310 replies
5/6This patch converts v9fs_open() to make use of the threadlets infrastructure.hw/virtio-9p.c hw/virtio-9p.h+68 -230 replies
6/6This patch converts v9fs_walk() to make use of the threadlets infrastructure.hw/virtio-9p.c hw/virtio-9p.h+57 -260 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [Qemu-devel] [PATCH 0/6] First threading model.

Hi,

The threadlets framework in qemu is being discussed here:
http://www.mail-archive.com/[email protected]/msg36157.html

This patchset implements the First threading model in Qemu using the above infrastructure.

Following are the features of the first threading model:

* The VCPU thread runs the Qemu code until the first blocking call is encountered.

* The work to be done in the blocking call is assigned to an asynchronous thread and the VCPU thread continues running the Qemu code.

* The aynchronous thread reports back to the VCPU/IO thread when the blocking call is finished.

* The VCPU/IO thread continues from immediately after the blocking call until the next blocking call is hit, and the whole process is repeated till no blocking call is encountered.

The following series implements...

---

Gautham R Shenoy (6):
This patch converts v9fs_stat() to make use of the threadlets infrastructure. This patch converts v9fs_wstat() to make use of the threadlets infrastructure. This patch converts v9fs_read() to make use of the threadlets infrastructure. This patch converts v9fs_write() to make use of the threadlets infrastructure. This patch converts v9fs_open() to make use of the threadlets infrastructure. This patch converts v9fs_walk() to make use of the threadlets infrastructure.

 hw/virtio-9p.c |  770 +++++++++++++++++++++++++++++++++++++++++---------------
 hw/virtio-9p.h |   33 ++
 2 files changed, 597 insertions(+), 206 deletions(-)
Signature · 1 line
Signature