qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 00/12] Threadlet Infrastructure
@ 2011-01-20 12:33 Arun R Bharadwaj
  2011-01-20 12:33 ` [Qemu-devel] [PATCH 01/12] Add aiocb_mutex and aiocb_completion Arun R Bharadwaj
                   ` (11 more replies)
  0 siblings, 12 replies; 13+ messages in thread
From: Arun R Bharadwaj @ 2011-01-20 12:33 UTC (permalink / raw)
  To: qemu-devel; +Cc: kwolf, aliguori, jvrao, aneesh.kumar, stefanha

Hi,

This patch series introduces threadlet framework
in qemu.

Changelog:

* Modified the dequeue_work function logic which was
  earlier wrong. It now returns 0 on success and 1 on
  failure.

* removed the locking for container_of which is not 
  needed in handle_work()

* changed qemu-threadlets.[c|h] to qemu-threadlet.[c|h]

* introduced signal handler APIs in qemu-threadlet.c
  directly instead of in posix-aio-compat.c

Testing:

* I have tested this series using fsstress.
  Detailed testing information has been mentioned in the
  previous iteration.

The following series implements...

---

Arun R Bharadwaj (12):
      Add aiocb_mutex and aiocb_completion.
      Introduce work concept in posix-aio-compat.c
      Add callback function to ThreadletWork structure.
      Add ThreadletQueue.
      Threadlet: Add submit_work threadlet API.
      Threadlet: Add dequeue_work threadlet API and remove active field.
      Remove thread_create routine.
      Threadlet: Add aio_signal_handler threadlet API
      Remove all instances of CONFIG_THREAD
      Move threadlet code to qemu-threadlets.c
      Threadlets: Add functionality to create private queues.
      Threadlets: Add documentation


 Makefile.objs          |    3 -
 configure              |    2 
 docs/async-support.txt |  141 ++++++++++++++++++++++++++++
 posix-aio-compat.c     |  238 ++++++++++++------------------------------------
 qemu-threadlet.c       |  187 ++++++++++++++++++++++++++++++++++++++
 qemu-threadlet.h       |   48 ++++++++++
 vl.c                   |    3 +
 7 files changed, 440 insertions(+), 182 deletions(-)
 create mode 100644 docs/async-support.txt
 create mode 100644 qemu-threadlet.c
 create mode 100644 qemu-threadlet.h

-- 
arun

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

end of thread, other threads:[~2011-01-20 12:43 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-01-20 12:33 [Qemu-devel] [PATCH 00/12] Threadlet Infrastructure Arun R Bharadwaj
2011-01-20 12:33 ` [Qemu-devel] [PATCH 01/12] Add aiocb_mutex and aiocb_completion Arun R Bharadwaj
2011-01-20 12:33 ` [Qemu-devel] [PATCH 02/12] Introduce work concept in posix-aio-compat.c Arun R Bharadwaj
2011-01-20 12:33 ` [Qemu-devel] [PATCH 03/12] Add callback function to ThreadletWork structure Arun R Bharadwaj
2011-01-20 12:33 ` [Qemu-devel] [PATCH 04/12] Add ThreadletQueue Arun R Bharadwaj
2011-01-20 12:33 ` [Qemu-devel] [PATCH 05/12] Threadlet: Add submit_work threadlet API Arun R Bharadwaj
2011-01-20 12:33 ` [Qemu-devel] [PATCH 06/12] Threadlet: Add dequeue_work threadlet API and remove active field Arun R Bharadwaj
2011-01-20 12:33 ` [Qemu-devel] [PATCH 07/12] Remove thread_create routine Arun R Bharadwaj
2011-01-20 12:34 ` [Qemu-devel] [PATCH 08/12] Threadlet: Add aio_signal_handler threadlet API Arun R Bharadwaj
2011-01-20 12:34 ` [Qemu-devel] [PATCH 09/12] Remove all instances of CONFIG_THREAD Arun R Bharadwaj
2011-01-20 12:34 ` [Qemu-devel] [PATCH 10/12] Move threadlet code to qemu-threadlets.c Arun R Bharadwaj
2011-01-20 12:34 ` [Qemu-devel] [PATCH 11/12] Threadlets: Add functionality to create private queues Arun R Bharadwaj
2011-01-20 12:34 ` [Qemu-devel] [PATCH 12/12] Threadlets: Add documentation Arun R Bharadwaj

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).