From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:53370) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YZMU6-0005hM-0C for qemu-devel@nongnu.org; Sat, 21 Mar 2015 12:43:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YZMU1-0000P0-1g for qemu-devel@nongnu.org; Sat, 21 Mar 2015 12:42:49 -0400 Received: from cantor2.suse.de ([195.135.220.15]:35565 helo=mx2.suse.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YZMU0-0000Oi-RI for qemu-devel@nongnu.org; Sat, 21 Mar 2015 12:42:44 -0400 Message-ID: <550D9F82.9080100@suse.de> Date: Sat, 21 Mar 2015 17:42:42 +0100 From: =?ISO-8859-15?Q?Andreas_F=E4rber?= MIME-Version: 1.0 References: <1426952091-18019-1-git-send-email-pbonzini@redhat.com> In-Reply-To: <1426952091-18019-1-git-send-email-pbonzini@redhat.com> Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH] rcutorture: fix compilation on 32-bit ppc List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini , qemu-devel@nongnu.org Am 21.03.2015 um 16:34 schrieb Paolo Bonzini: > 32-bit PPC cannot do atomic operations on long long. Inside the loops, > we are already using local counters that are summed at the end of > the run---with one exception in rcu_read_stress_test: fix it to use > the same technique. Then, use a mutex to protect the global counts. > Performance does not matter there because every thread will only enter > the critical section once. >=20 > Remaining uses of atomic instructions are for ints or pointers. >=20 > Reported-by: Andreas Faerber > Signed-off-by: Paolo Bonzini > --- > tests/rcutorture.c | 20 ++++++++++++++++---- > 1 file changed, 16 insertions(+), 4 deletions(-) Tested-by: Andreas F=E4rber This lets rcutorture pass, but the same error occurs in test-rcu-list... Btw any reason rcutorture does not fit one of the three naming schemes? Regards, Andreas --=20 SUSE Linux GmbH, Maxfeldstr. 5, 90409 N=FCrnberg, Germany GF: Felix Imend=F6rffer, Jane Smithard, Jennifer Guild, Dilip Upmanyu, Graham Norton; HRB 21284 (AG N=FCrnberg)