Re: [Qemu-devel] linux-user crashes on clone(2) when run on ppc host

2015-06-18 Thread Emilio G. Cota
On Thu, Jun 18, 2015 at 15:55:54 +0100, Peter Maydell wrote: > I'd forgotten we had that mutex. However it's not actually > a sufficient fix for the problem. What needs to happen is > that: > (a) somebody actually sits down and figures out what data > structures we have and what locking/per-cpunes

Re: [Qemu-devel] linux-user crashes on clone(2) when run on ppc host

2015-06-18 Thread Peter Maydell
On 18 June 2015 at 15:23, Emilio G. Cota wrote: > On Thu, Jun 18, 2015 at 08:42:40 +0100, Peter Maydell wrote: >> > What data structures are you referring to? Are they ppc-specific? >> >> None of the code generation data structures are locked at all -- >> if two threads try to generate code at the

Re: [Qemu-devel] linux-user crashes on clone(2) when run on ppc host

2015-06-18 Thread Emilio G. Cota
On Thu, Jun 18, 2015 at 08:42:40 +0100, Peter Maydell wrote: > > What data structures are you referring to? Are they ppc-specific? > > None of the code generation data structures are locked at all -- > if two threads try to generate code at the same time they'll > tend to clobber each other. AFAI

Re: [Qemu-devel] linux-user crashes on clone(2) when run on ppc host

2015-06-18 Thread Peter Maydell
On 17 June 2015 at 22:36, Emilio G. Cota wrote: > On Wed, Jun 17, 2015 at 09:58:27 +0100, Peter Maydell wrote: >> On 17 June 2015 at 01:52, Emilio G. Cota wrote: >> > I'm having trouble running a simple multithreaded program on a PowerPC >> > host machine. >> > >> > The machine I'm using is a pp

Re: [Qemu-devel] linux-user crashes on clone(2) when run on ppc host

2015-06-17 Thread Emilio G. Cota
On Wed, Jun 17, 2015 at 09:58:27 +0100, Peter Maydell wrote: > On 17 June 2015 at 01:52, Emilio G. Cota wrote: > > I'm having trouble running a simple multithreaded program on a PowerPC host > > machine. > > > > The machine I'm using is a ppc VM--I think it's running under KVM (I'm using > > OVH'

Re: [Qemu-devel] linux-user crashes on clone(2) when run on ppc host

2015-06-17 Thread Peter Maydell
On 17 June 2015 at 01:52, Emilio G. Cota wrote: > Hi, > > I'm having trouble running a simple multithreaded program on a PowerPC host > machine. > > The machine I'm using is a ppc VM--I think it's running under KVM (I'm using > OVH's RunAbove Power8 service): > admin@adsf:~/qemu$ uname -a > L

[Qemu-devel] linux-user crashes on clone(2) when run on ppc host

2015-06-16 Thread Emilio G. Cota
Hi, I'm having trouble running a simple multithreaded program on a PowerPC host machine. The machine I'm using is a ppc VM--I think it's running under KVM (I'm using OVH's RunAbove Power8 service): admin@adsf:~/qemu$ uname -a Linux adsf 3.13.0-37-generic #64-Ubuntu SMP Mon Sep 22 21:27:09 UT