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,

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 problem would

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 risked pulling

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,

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 (=

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, the

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

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,