Re: Improvements to fork handling (2/5)

2011-05-24 Thread Ryan Johnson
On 23/05/2011 3:31 AM, Corinna Vinschen wrote: On May 22 14:42, Ryan Johnson wrote: On 21/05/2011 9:44 PM, Christopher Faylor wrote: On Wed, May 11, 2011 at 02:31:37PM -0400, Ryan Johnson wrote: Hi all, This patch has the parent sort its dll list topologically by dependencies. Previously, att

Re: Improvements to fork handling (1/5)

2011-05-24 Thread Ryan Johnson
On 22/05/2011 4:29 PM, Christopher Faylor wrote: On Sun, May 22, 2011 at 09:04:40AM -0400, Ryan Johnson wrote: On 21/05/2011 9:41 PM, Christopher Faylor wrote: On Wed, May 11, 2011 at 02:31:23PM -0400, Ryan Johnson wrote: Hi all, This is the first of a series of patches, sent in separate emai

Re: Improvements to fork handling (2/5)

2011-05-24 Thread Christopher Faylor
On Tue, May 24, 2011 at 12:47:36PM -0400, Ryan Johnson wrote: >The best way to improve performance of this part of fork() would be to >figure out how to force a dll to load in the right place on the first >try. Achieving this admittedly "difficult" task would eliminate multiple >syscalls per dll

Re: Improvements to fork handling (2/5)

2011-05-24 Thread Ryan Johnson
On 24/05/2011 9:05 AM, Corinna Vinschen wrote: On May 24 07:27, Ryan Johnson wrote: On 23/05/2011 3:31 AM, Corinna Vinschen wrote: On May 22 14:42, Ryan Johnson wrote: In theory, this should completely eliminate the case where us loading one DLL pulls in dependencies automatically (= uncontrol

Re: Improvements to fork handling (2/5)

2011-05-24 Thread Ryan Johnson
On 24/05/2011 12:14 PM, Corinna Vinschen wrote: On May 22 14:42, Ryan Johnson wrote: On 21/05/2011 9:44 PM, Christopher Faylor wrote: On Wed, May 11, 2011 at 02:31:37PM -0400, Ryan Johnson wrote: Hi all, This patch has the parent sort its dll list topologically by dependencies. Previously, at

Re: Improvements to fork handling (2/5)

2011-05-24 Thread Corinna Vinschen
On May 22 14:42, Ryan Johnson wrote: > On 21/05/2011 9:44 PM, Christopher Faylor wrote: > >On Wed, May 11, 2011 at 02:31:37PM -0400, Ryan Johnson wrote: > >>Hi all, > >> > >>This patch has the parent sort its dll list topologically by > >>dependencies. Previously, attempts to load a DLL_LOAD dll ri

Re: Improvements to fork handling (2/5)

2011-05-24 Thread Corinna Vinschen
On May 24 07:27, Ryan Johnson wrote: > On 23/05/2011 3:31 AM, Corinna Vinschen wrote: > >On May 22 14:42, Ryan Johnson wrote: > >>In theory, this should completely eliminate the case where us > >>loading one DLL pulls in dependencies automatically (= uncontrolled > >>and at Windows' whim). The prob

Re: Improvements to fork handling (2/5)

2011-05-24 Thread Ryan Johnson
On 23/05/2011 3:31 AM, Corinna Vinschen wrote: On May 22 14:42, Ryan Johnson wrote: On 21/05/2011 9:44 PM, Christopher Faylor wrote: On Wed, May 11, 2011 at 02:31:37PM -0400, Ryan Johnson wrote: Hi all, This patch has the parent sort its dll list topologically by dependencies. Previously, att

Re: fix perror POSIX compliance

2011-05-24 Thread Corinna Vinschen
On May 23 17:28, Eric Blake wrote: > This depends on the newlib patch: > http://sourceware.org/ml/newlib/2011/msg00215.html > > In fact, if that patch goes in, then this one is required to avoid a > link failure; this one can probably go in first but makes no difference > to perror without the new