This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


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

Re: GGC_QUIRE_SIZE change


On Tue, Aug 29, 2000 at 03:06:06PM -0400, Richard Kenner wrote:
>     Try adding a
> 
>       *page = 1;
> 
>     after the check to see if mmap failed.
> 
> Same thing.  Of course that only touches 1/16th of the pages, but I don't
> think the issue is amount of allocated memory, but instead has something
> to do with address space ranges, though I have no idea of in what way
> exactly, of course.

Hm, perhaps it has to do with allocating memory with malloc at the
same time.

Do you have strace or equivalent on that system?  I'd be interested to
see if this is the brk region colliding with the mmap region.

[Why they are anywhere near each other on a 64-bit platform is the
next question...]

zw

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