Re: apmd hangs

2014-09-11 Thread Giovanni Bechis
On 09/08/14 23:35, Mark Kettenis wrote: > The more code & documentation I read, the more I'm convinced that > coordinating state changes between logical processors isn't necessary > and actually is responsible for the hangs people have been seeing. > > So here is a diff that does away with it all.

Re: apmd hangs

2014-09-10 Thread Stuart Henderson
On 2014/09/10 04:44, Ingo Schwarze wrote: > Sure. When i see ld(1) dying from signals, i'll bump limits. But > that's not what what i'm talking about. Memory allocation failure > in ld(1) is hopefully not going to cause a hard kernel lockup. > > Besides, almost all the kernel lockups i saw toda

Re: apmd hangs

2014-09-09 Thread Ingo Schwarze
Hi Amit, Amit Kulkarni wrote on Tue, Sep 09, 2014 at 08:47:22PM -0500: > A basic rule of thumb when building ports: raise your /etc/login.conf > limits...especially datasize-cur needs to be 2G and datasize-max needs to > be 3G. The reason being there are some ports where the linker blows up to >

Re: apmd hangs

2014-09-09 Thread Amit Kulkarni
On Tue, Sep 9, 2014 at 2:13 PM, David Coppa wrote: > On Tue, Sep 9, 2014 at 7:58 PM, Ingo Schwarze wrote: > > Hi David, > > > > David Coppa wrote on Tue, Sep 09, 2014 at 07:44:47PM +0200: > >> On Tue, Sep 9, 2014 at 7:27 PM, Ingo Schwarze wrote: > > > >>> i'm sorry to say it makes no difference

Re: apmd hangs

2014-09-09 Thread David Coppa
On Tue, Sep 9, 2014 at 7:58 PM, Ingo Schwarze wrote: > Hi David, > > David Coppa wrote on Tue, Sep 09, 2014 at 07:44:47PM +0200: >> On Tue, Sep 9, 2014 at 7:27 PM, Ingo Schwarze wrote: > >>> i'm sorry to say it makes no difference for me (i'm not opposed to the >>> diff, though). >>> >>> On my la

Re: apmd hangs

2014-09-09 Thread Ingo Schwarze
Hi David, David Coppa wrote on Tue, Sep 09, 2014 at 07:44:47PM +0200: > On Tue, Sep 9, 2014 at 7:27 PM, Ingo Schwarze wrote: >> i'm sorry to say it makes no difference for me (i'm not opposed to the >> diff, though). >> >> On my laptop, building ports works fine, running firefox works fine, >> b

Re: apmd hangs

2014-09-09 Thread Mark Kettenis
> Date: Tue, 9 Sep 2014 19:27:42 +0200 > From: Ingo Schwarze > > Hi Mark, > > Mark Kettenis wrote on Mon, Sep 08, 2014 at 11:35:36PM +0200: > > > The more code & documentation I read, the more I'm convinced that > > coordinating state changes between logical processors isn't necessary > > and a

Re: apmd hangs

2014-09-09 Thread David Coppa
On Tue, Sep 9, 2014 at 7:27 PM, Ingo Schwarze wrote: > i'm sorry to say it makes no difference for me (i'm not opposed to the > diff, though). > > On my laptop, building ports works fine, running firefox works fine, > but whenever i surf the web with firefox while building ports, > the machine lo

Re: apmd hangs

2014-09-09 Thread Ingo Schwarze
Hi Mark, Mark Kettenis wrote on Mon, Sep 08, 2014 at 11:35:36PM +0200: > The more code & documentation I read, the more I'm convinced that > coordinating state changes between logical processors isn't necessary > and actually is responsible for the hangs people have been seeing. > > So here is a

Re: apmd hangs

2014-09-09 Thread Stuart Henderson
On 2014/09/08 23:35, Mark Kettenis wrote: > The more code & documentation I read, the more I'm convinced that > coordinating state changes between logical processors isn't necessary > and actually is responsible for the hangs people have been seeing. > > So here is a diff that does away with it al

apmd hangs

2014-09-08 Thread Mark Kettenis
The more code & documentation I read, the more I'm convinced that coordinating state changes between logical processors isn't necessary and actually is responsible for the hangs people have been seeing. So here is a diff that does away with it all. I've tested it on a few laptops here, but it cou