From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NF4g9-0000J8-JD for qemu-devel@nongnu.org; Mon, 30 Nov 2009 06:44:29 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NF4g4-0000GP-Jx for qemu-devel@nongnu.org; Mon, 30 Nov 2009 06:44:28 -0500 Received: from [199.232.76.173] (port=38810 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NF4g4-0000GI-DY for qemu-devel@nongnu.org; Mon, 30 Nov 2009 06:44:24 -0500 Received: from mail-pz0-f188.google.com ([209.85.222.188]:58375) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NF4g4-00032x-3w for qemu-devel@nongnu.org; Mon, 30 Nov 2009 06:44:24 -0500 Received: by pzk26 with SMTP id 26so2194302pzk.4 for ; Mon, 30 Nov 2009 03:44:22 -0800 (PST) MIME-Version: 1.0 In-Reply-To: <4B1293F2.4020702@redhat.com> References: <1259256300-23937-1-git-send-email-glommer@redhat.com> <1259256300-23937-2-git-send-email-glommer@redhat.com> <1259256300-23937-3-git-send-email-glommer@redhat.com> <1259256300-23937-4-git-send-email-glommer@redhat.com> <1259256300-23937-5-git-send-email-glommer@redhat.com> <4B1293F2.4020702@redhat.com> Date: Mon, 30 Nov 2009 09:44:22 -0200 Message-ID: <5d6222a80911300344y7ad2fdf0odff84d3767abcdc3@mail.gmail.com> Subject: Re: [Qemu-devel] [PATCH 4/7] qemu_flush_work for remote vcpu execution From: Glauber Costa Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Avi Kivity Cc: Glauber Costa , aliguori@us.ibm.com, qemu-devel@nongnu.org > > I really dislike this. =C2=A0In general vcpu ioctls are used as component= s of > some work to be done, for example RMW of some state. =C2=A0In this case i= t is > meaningless to execute the ioctls remotely, you need to execute the entir= e > RMW remotely instead. > Why? The "M" part of RMW is executed in shared memory. Only the R and W parts have any restrictions on where to be executed. --=20 Glauber Costa. "Free as in Freedom" http://glommer.net "The less confident you are, the more serious you have to act."