Re: [Qemu-devel] [PATCH] linux-user: Fix do_store_exclusive for shared memory of interprocess.

2016-10-18 Thread Richard Henderson
On 10/15/2016 08:53 AM, Heiher wrote: +if ((__hptr = lock_user(VERIFY_WRITE, __gaddr, sizeof(target_type), 0))) { \ +if ((old) != atomic_cmpxchg(__hptr, (old), (new))) \ +__ret = -TARGET_EAGAIN;\ +unlock_user(__hptr,

Re: [Qemu-devel] [PATCH] linux-user: Fix do_store_exclusive for shared memory of interprocess.

2016-10-16 Thread Emilio G. Cota
(Adding Richard to Cc) On Sat, Oct 15, 2016 at 23:53:48 +0800, Heiher wrote: > From: Heiher > > test case: http://pastebin.com/raw/x2GW4xNW You should check out this patchset and use it as a base for working on this topic: http://lists.nongnu.org/archive/html/qemu-devel/2016-10/msg02341.html

Re: [Qemu-devel] [PATCH] linux-user: Fix do_store_exclusive for shared memory of interprocess.

2016-10-15 Thread no-reply
Hi, Your series seems to have some coding style problems. See output below for more information: Subject: [Qemu-devel] [PATCH] linux-user: Fix do_store_exclusive for shared memory of interprocess. Type: series Message-id: 20161015155348.26834-...@hev.cc === TEST SCRIPT BEGIN === #!/bin/bash BA