Received: from eggs.gnu.org ([2001:4830:134:3::10]:47524) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fLoCy-00016t-Jz for qemu-devel@nongnu.org; Thu, 24 May 2018 07:15:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fLoCv-0003RZ-Dc for qemu-devel@nongnu.org; Thu, 24 May 2018 07:15:00 -0400 Received: from mx3-rdu2.redhat.com ([66.187.233.73]:44538 helo=mx1.redhat.com) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fLoCv-0003RR-9q for qemu-devel@nongnu.org; Thu, 24 May 2018 07:14:57 -0400 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.rdu2.redhat.com [10.11.54.4]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 03C794022407 for ; Thu, 24 May 2018 11:14:57 +0000 (UTC) From: Markus Armbruster References: <20180524043952.11245-1-peterx@redhat.com> <20180524043952.11245-2-peterx@redhat.com> <877ent8nj3.fsf@dusky.pond.sub.org> <20180524084548.GE12122@xz-mi> Date: Thu, 24 May 2018 13:14:55 +0200 In-Reply-To: <20180524084548.GE12122@xz-mi> (Peter Xu's message of "Thu, 24 May 2018 16:45:48 +0800") Message-ID: <87fu2h5mq8.fsf@dusky.pond.sub.org> MIME-Version: 1.0 Content-Type: text/plain Subject: Re: [Qemu-devel] [PATCH v7 1/4] monitor: rename out_lock to mon_lock List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Xu Cc: =?utf-8?Q?Marc-Andr=C3=A9?= Lureau , qemu-devel@nongnu.org, Stefan Hajnoczi , "Dr . David Alan Gilbert" Peter Xu writes: > On Thu, May 24, 2018 at 10:29:20AM +0200, Markus Armbruster wrote: >> Peter Xu writes: >> >> > The out_lock is protecting a few Monitor fields. In the future the >> > monitor code will start to run in multiple threads. We are going to >> > turn it into a bigger lock to protect not only the out buffer but also >> > all the rest. >> >> Hmm, not sure about "all the rest": PATCH 3 marks a member as not >> needing protection. Shall I change this to "most of the rest" when I >> apply? > > Of course. :) Please feel free to touch up the commit message where > necessary (this rule applies to all my patches). I fully trust your > wordings. Well, I don't, so I'll keep asking :) > Thanks!