From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34885) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e40Zo-0003hQ-HB for qemu-devel@nongnu.org; Mon, 16 Oct 2017 04:16:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e40Zl-0001ez-CM for qemu-devel@nongnu.org; Mon, 16 Oct 2017 04:16:44 -0400 Received: from mx1.redhat.com ([209.132.183.28]:55696) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1e40Zl-0001ea-66 for qemu-devel@nongnu.org; Mon, 16 Oct 2017 04:16:41 -0400 Date: Mon, 16 Oct 2017 16:16:22 +0800 From: Peter Xu Message-ID: <20171016081622.GF4166@pxdev.xzpeter.org> References: <20170929033844.26935-1-peterx@redhat.com> <20170929033844.26935-17-peterx@redhat.com> <20171012125755.GH5957@stefanha-x1.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20171012125755.GH5957@stefanha-x1.localdomain> Subject: Re: [Qemu-devel] [RFC v2 16/22] monitor: enable IO thread for (qmp & !mux) typed List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stefan Hajnoczi Cc: qemu-devel@nongnu.org, Paolo Bonzini , "Daniel P . Berrange" , Stefan Hajnoczi , Fam Zheng , Juan Quintela , mdroth@linux.vnet.ibm.com, Eric Blake , Laurent Vivier , =?utf-8?Q?Marc-Andr=C3=A9?= Lureau , Markus Armbruster , "Dr . David Alan Gilbert" On Thu, Oct 12, 2017 at 01:57:55PM +0100, Stefan Hajnoczi wrote: > On Fri, Sep 29, 2017 at 11:38:38AM +0800, Peter Xu wrote: > > Start to use dedicate IO thread for QMP monitors that are not using > > MUXed chardev. > > > > We excluded MUXed chardev because when mux is used, frontend can be the > > monitor plus something else. The only thing we know would be safe to be > > run outside main thread is the monitor frontend, all the rest of the > > frontends should still be run in main thread only. > > Please move this explanation into a comment so it's immediately visible > when reading the code. Will do. Thanks, -- Peter Xu