This is the mail archive of the cygwin-patches@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: init_cheap and _csbrk


On Tue, Aug 06, 2002 at 11:35:56PM +0100, Conrad Scott wrote:
>I wasn't thinking of efficiency while I was looking at this.  I
>was actually trying to understand an apparent memory leak on fork.
>(I found that BTW: it's the "well-known" one in the per_thread
>mechanism.  So I've stopped worrying about it.)
>
>But: the slop will never get used AFAICT (so it's not really
>slop).

You're right.  And even if I got the slop working there would still
be a call to VirtualAlloc.  It shouldn't matter since it will just
be allocating allocated memory but that means it probably isn't
really worth it anyway.  So, I've reorganized things one more time.
And, no more slop.

In the reorganization our aesthetic sense merged so I moved the
cygheap_max setting back into init_cheap.

cgf


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]