[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [RFC PATCH 0/2] port network layer onto glib
From: |
Peter Maydell |
Subject: |
Re: [Qemu-devel] [RFC PATCH 0/2] port network layer onto glib |
Date: |
Thu, 14 Mar 2013 10:04:23 +0000 |
On 13 March 2013 12:34, Anthony Liguori <address@hidden> wrote:
> AioContext is necessary for the block layer because the block layer
> still has synchronous I/O. I think we should aim to replace all sync
> I/O in the long term with coroutine based I/O.
I think coroutines are dreadful and we should really not be moving
towards greater use of them. They're just really really not portable
and they don't fit with the C language, and they're a constant source
of problems.(For instance I have a bug I need to look into where we
seem to hang using the gthread coroutine backend but not sigaltstack.)
Use threads, or a genuinely asynchronous API, or a select/poll loop
with callbacks, but not more coroutines please.
-- PMM
- Re: [Qemu-devel] [RFC PATCH 0/2] port network layer onto glib, (continued)
- Re: [Qemu-devel] [RFC PATCH 0/2] port network layer onto glib, Anthony Liguori, 2013/03/13
- Re: [Qemu-devel] [RFC PATCH 0/2] port network layer onto glib, Paolo Bonzini, 2013/03/13
- Re: [Qemu-devel] [RFC PATCH 0/2] port network layer onto glib, Anthony Liguori, 2013/03/13
- Re: [Qemu-devel] [RFC PATCH 0/2] port network layer onto glib, Stefan Hajnoczi, 2013/03/14
- Re: [Qemu-devel] [RFC PATCH 0/2] port network layer onto glib, Paolo Bonzini, 2013/03/14
- Re: [Qemu-devel] [RFC PATCH 0/2] port network layer onto glib, Anthony Liguori, 2013/03/13
- Re: [Qemu-devel] [RFC PATCH 0/2] port network layer onto glib, Paolo Bonzini, 2013/03/13
- Re: [Qemu-devel] [RFC PATCH 0/2] port network layer onto glib, Anthony Liguori, 2013/03/13
- Re: [Qemu-devel] [RFC PATCH 0/2] port network layer onto glib,
Peter Maydell <=
- Re: [Qemu-devel] [RFC PATCH 0/2] port network layer onto glib, Paolo Bonzini, 2013/03/14
- Re: [Qemu-devel] [RFC PATCH 0/2] port network layer onto glib, Peter Maydell, 2013/03/14
- Re: [Qemu-devel] [RFC PATCH 0/2] port network layer onto glib, Paolo Bonzini, 2013/03/14
- Re: [Qemu-devel] [RFC PATCH 0/2] port network layer onto glib, Peter Maydell, 2013/03/14
- Re: [Qemu-devel] [RFC PATCH 0/2] port network layer onto glib, Stefan Hajnoczi, 2013/03/15
- Re: [Qemu-devel] [RFC PATCH 0/2] port network layer onto glib, Markus Armbruster, 2013/03/19
- Re: [Qemu-devel] [RFC PATCH 0/2] port network layer onto glib, Peter Maydell, 2013/03/19
- Re: [Qemu-devel] [RFC PATCH 0/2] port network layer onto glib, Paolo Bonzini, 2013/03/19
- Re: [Qemu-devel] [RFC PATCH 0/2] port network layer onto glib, Peter Maydell, 2013/03/19
- Re: [Qemu-devel] [RFC PATCH 0/2] port network layer onto glib, Paolo Bonzini, 2013/03/19