From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:60683) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b5tLk-0002Ma-1t for qemu-devel@nongnu.org; Thu, 26 May 2016 07:21:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b5tLf-00081w-SA for qemu-devel@nongnu.org; Thu, 26 May 2016 07:21:10 -0400 Received: from mx1.redhat.com ([209.132.183.28]:37321) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b5tLf-00081m-MM for qemu-devel@nongnu.org; Thu, 26 May 2016 07:21:07 -0400 References: <5746D31C.3070500@gmail.com> From: Paolo Bonzini Message-ID: <91b3837f-f61c-a7d4-5266-964e8e27a839@redhat.com> Date: Thu, 26 May 2016 13:21:02 +0200 MIME-Version: 1.0 In-Reply-To: <5746D31C.3070500@gmail.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] qemu-arm-static, multiprocess, atomic List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Sergey Fedorov , Jeff Epler , qemu-devel@nongnu.org, =?UTF-8?Q?Alex_Benn=c3=a9e?= , Richard Henderson , Riku Voipio , Blue Swirl On 26/05/2016 12:42, Sergey Fedorov wrote: > I'm afraid even our recent efforts in > multi-threaded TCG won't change the situation. The problem is that it > would require to translate somehow ARM's exclusive access monitor to x86 > model. > The cmpxchg-based variant would work. It doesn't implement LL/SC exactly, but it works fine if the program is written against GCC atomic builtins. Thanks, Paolo