qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [RFC PATCH 0/5] Coroutines cleanup
@ 2011-07-20  7:56 Frediano Ziglio
  2011-07-20  7:57 ` [Qemu-devel] [RFC PATCH 1/5] allocate AIO on stack Frediano Ziglio
                   ` (5 more replies)
  0 siblings, 6 replies; 12+ messages in thread
From: Frediano Ziglio @ 2011-07-20  7:56 UTC (permalink / raw)
  To: qemu-devel; +Cc: Kevin Wolf

These patches mostly cleanup some AIO code using coroutines.
These patches apply to Kevin's repository, branch coroutine-block.
Mostly they use stack instead of allocated AIO structure.

Frediano Ziglio (5):
  allocate AIO on stack
  use more stack
  more stack work
  avoid dandling pointers
  qemu_aio_get used to clear all allocated buffer

 block/qcow.c  |  210 +++++++++++++++++++++++++--------------------------------
 block/qcow2.c |   38 +++-------
 2 files changed, 102 insertions(+), 146 deletions(-)

^ permalink raw reply	[flat|nested] 12+ messages in thread
* [Qemu-devel] [RFC PATCH 0/5] qcow: coroutines cleanup
@ 2011-07-20 13:56 Frediano Ziglio
  2011-07-20 13:56 ` [Qemu-devel] [RFC PATCH 4/5] avoid dandling pointers Frediano Ziglio
  0 siblings, 1 reply; 12+ messages in thread
From: Frediano Ziglio @ 2011-07-20 13:56 UTC (permalink / raw)
  To: qemu-devel; +Cc: Kevin Wolf

These patches mostly cleanup some AIO code using coroutines.
These patches apply to Kevin's repository, branch coroutine-block.
Mostly they use stack instead of allocated AIO structure.

Frediano Ziglio (5):
  qcow: allocate QCowAIOCB structure using stack
  qcow: QCowAIOCB field cleanup
  qcow: move some blocks of code to avoid useless variable
    initialization
  avoid dandling pointers
  qcow: small optimization initializing QCowAIOCB

 block/qcow.c  |  210 +++++++++++++++++++++++++--------------------------------
 block/qcow2.c |   38 +++-------
 2 files changed, 102 insertions(+), 146 deletions(-)

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

end of thread, other threads:[~2011-07-22  9:29 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-07-20  7:56 [Qemu-devel] [RFC PATCH 0/5] Coroutines cleanup Frediano Ziglio
2011-07-20  7:57 ` [Qemu-devel] [RFC PATCH 1/5] allocate AIO on stack Frediano Ziglio
2011-07-20  7:57 ` [Qemu-devel] [RFC PATCH 2/5] use more stack Frediano Ziglio
2011-07-20  7:57 ` [Qemu-devel] [RFC PATCH 3/5] more stack work Frediano Ziglio
2011-07-20  7:57 ` [Qemu-devel] [RFC PATCH 4/5] avoid dandling pointers Frediano Ziglio
2011-07-20  7:57 ` [Qemu-devel] [RFC PATCH 5/5] qemu_aio_get used to clear all allocated buffer Frediano Ziglio
2011-07-20 13:05   ` Kevin Wolf
2011-07-20 13:45     ` Frediano Ziglio
2011-07-20 13:03 ` [Qemu-devel] [RFC PATCH 0/5] Coroutines cleanup Kevin Wolf
  -- strict thread matches above, loose matches on Subject: below --
2011-07-20 13:56 [Qemu-devel] [RFC PATCH 0/5] qcow: coroutines cleanup Frediano Ziglio
2011-07-20 13:56 ` [Qemu-devel] [RFC PATCH 4/5] avoid dandling pointers Frediano Ziglio
2011-07-22  7:02   ` Kevin Wolf
2011-07-22  9:29     ` Frediano Ziglio

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