From: Fam Zheng <famz@redhat.com>
To: Paolo Bonzini <pbonzini@redhat.com>
Cc: Zhang Chen <zhangchen.fnst@cn.fujitsu.com>,
wang.yong155@zte.com.cn, lizhijian@cn.fujitsu.com,
wang.guang55@zte.com.cn, jasowang@redhat.com,
qemu-devel@nongnu.org,
"Dr. David Alan Gilbert" <dgilbert@redhat.com>,
marcandre.lureau@gmail.com, stefanha@redhat.com,
zhang.zhanghailiang@huawei.com
Subject: Re: [Qemu-devel] [PATCHv2 02/04] colo-compare: Processpactkets in the IOThreadofthe primary
Date: Tue, 1 Aug 2017 22:52:24 +0800 [thread overview]
Message-ID: <20170801145224.GD3206@lemon.lan> (raw)
In-Reply-To: <9ca67be4-4398-853a-4e4a-36bfc3591fd0@redhat.com>
On Tue, 08/01 12:25, Paolo Bonzini wrote:
> On 28/07/2017 02:25, Fam Zheng wrote:
> > On Thu, 07/27 15:47, Zhang Chen wrote:
> >> CC. Fam and David.
> >>
> >> Any idea about it?
> >
> > Is it possible to use g_main_context_{push,pop}_thread_default to "move" chardev
> > GSources to IOThread's context, then use g_main_context_query like main thread
> > and poll the fds in aio_poll?
>
> How would you do that without making aio_poll performance worse for
> everyone?
I don't knoe. Maintain a flag and only do these slow stuff after at least one
GSource has been moved around?
Fam
prev parent reply other threads:[~2017-08-01 15:02 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-07-25 1:02 [Qemu-devel] [PATCHv2 02/04] colo-compare: Processpactkets in the IOThreadofthe primary wang.yong155
2017-07-27 7:47 ` Zhang Chen
2017-07-28 0:25 ` Fam Zheng
2017-08-01 10:25 ` Paolo Bonzini
2017-08-01 14:52 ` Fam Zheng [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170801145224.GD3206@lemon.lan \
--to=famz@redhat.com \
--cc=dgilbert@redhat.com \
--cc=jasowang@redhat.com \
--cc=lizhijian@cn.fujitsu.com \
--cc=marcandre.lureau@gmail.com \
--cc=pbonzini@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=stefanha@redhat.com \
--cc=wang.guang55@zte.com.cn \
--cc=wang.yong155@zte.com.cn \
--cc=zhang.zhanghailiang@huawei.com \
--cc=zhangchen.fnst@cn.fujitsu.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.