[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Weird performance problem
From: |
Paul Smith |
Subject: |
Re: Weird performance problem |
Date: |
Sun, 18 Jul 2010 12:46:55 -0400 |
On Sun, 2010-07-18 at 12:42 -0300, Leandro Lucarella wrote:
> Well, the odd behaviour was because Make forces the commands to use the
> old Linux memory layout (indirectly triggered by making the stack
> unlimited), as explained by Alberto here:
> http://thread.gmane.org/gmane.comp.gnu.make.bugs/4730
Hm. GNU make DOES reset the stack to the "normal" value (at least it
should) before it execs any commands. It's only during the running of
GNU make itself that the stack is set to be unlimited.
We do this after we fork, and before we exec the command.
I don't see why having GNU make's stack set unlimited would impact GNU
make's children, unless there is some reason why resetting the stack
doesn't undo the change...?
--
-------------------------------------------------------------------------------
Paul D. Smith <address@hidden> Find some GNU make tips at:
http://www.gnu.org http://make.mad-scientist.net
"Please remain calm...I may be mad, but I am a professional." --Mad Scientist
- Re: Weird performance problem, (continued)
Re: Weird performance problem, Leandro Lucarella, 2010/07/14
- Re: Weird performance problem, Paul Smith, 2010/07/14
- Re: Weird performance problem, Leandro Lucarella, 2010/07/14
- Re: Weird performance problem, Leandro Lucarella, 2010/07/18
- Re: Weird performance problem,
Paul Smith <=
- Re: Weird performance problem, David Boyce, 2010/07/18
- Re: Weird performance problem, Paul Smith, 2010/07/18
- Re: Weird performance problem, Leandro Lucarella, 2010/07/18