[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [RFC PATCH 0/5] Coroutines cleanup
From: |
Kevin Wolf |
Subject: |
Re: [Qemu-devel] [RFC PATCH 0/5] Coroutines cleanup |
Date: |
Wed, 20 Jul 2011 15:03:39 +0200 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.18) Gecko/20110621 Fedora/3.1.11-1.fc15 Thunderbird/3.1.11 |
Am 20.07.2011 09:56, schrieb Frediano Ziglio:
> 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.
I think your changes generally make sense as an example of how to
convert stuff to coroutines.
The thing that I'm not quite sure about is whether we should do it in
qcow1, which isn't frequently used and gets relatively little testing.
My main focus with qcow1 is keeping things working and maybe fixing
serious bugs. Code cleanups are always a (small, but not negligible)
risk of breaking things.
Anyway, I'm not totally opposed to merging this, but you really need to
improve the commit messages. First thing is that the subject should
start with the subsystem name ("qcow: Allocate AIOCB on stack"). I'm
also sure that you can be more precise than "more stack work". Please
use some more lines in the commit message to explain in more detail what
you're changing and ideally also why you're doing it.
Kevin
- [Qemu-devel] [RFC PATCH 0/5] Coroutines cleanup, Frediano Ziglio, 2011/07/20
- [Qemu-devel] [RFC PATCH 1/5] allocate AIO on stack, Frediano Ziglio, 2011/07/20
- [Qemu-devel] [RFC PATCH 2/5] use more stack, Frediano Ziglio, 2011/07/20
- [Qemu-devel] [RFC PATCH 3/5] more stack work, Frediano Ziglio, 2011/07/20
- [Qemu-devel] [RFC PATCH 4/5] avoid dandling pointers, Frediano Ziglio, 2011/07/20
- [Qemu-devel] [RFC PATCH 5/5] qemu_aio_get used to clear all allocated buffer, Frediano Ziglio, 2011/07/20
- Re: [Qemu-devel] [RFC PATCH 0/5] Coroutines cleanup,
Kevin Wolf <=