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


"Christopher Faylor" <cgf@redhat.com> wrote:
> 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.

Good point: I hadn't quite got as far as thinking too clearly
about what was being optimised.  I bet a call to VirtualAlloc to
commit an already committed page is cheap and so some optimization
might be possible, but without instrumenting a few test programs
who knows what difference it would make.

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

Beauty will out :-)

// Conrad




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