On Sat, 6 Jan 2001, Richard Henderson wrote:
> On Sat, Jan 06, 2001 at 05:00:53PM -0500, T. Daniel Crawford wrote:
> > For the large-block allocation, on alpha Linux the address is off in the
> > middle of nowhere (from my perspective) ...
>
> Yes, but so what? You can read and write to it.
>
My question stems from my experience on most other operating systems ---
Intel Linux, IBM AIX, SGI, CRAY, etc. --- that the two types of addresses
returned by malloc() lie in the same ballpark. I'm not arguing that this
is *wrong* per se, but I'm simply wondering why alpha Linux chooses to
place these memory blocks so far away from the smaller allocations when
it seems mosts other mainstream OS's do not.
More to the point, though, is the fact that I have some older Fortran code
that I'm attempting to port to alpha Linux which fails when these addresses
are very, very, very far apart as they are here. If there is a way to
cleanly force the addresses to be closer together, I need to learn about
it.
Thanks,
-Daniel
-- T. Daniel Crawford Department of Chemistry crawdad@vt.edu Virginia Tech www.chem.vt.edu/chem-dept/crawford Voice: 540-231-7760 FAX: 540-231-3255_______________________________________________ Axp-list mailing list Axp-list@redhat.com https://listman.redhat.com/mailman/listinfo/axp-list
This archive was generated by hypermail version 2a22 on Sat Mar 3 12:54:54 2001 PST
Send any problems or questions about this archive to webmaster@alphalinux.org.