extreme mem usage under amd64 arch ?

John-Mark Gurney gurney_j at resnet.uoregon.edu
Fri Apr 7 21:22:57 UTC 2006


Oliver Fromme wrote this message on Fri, Apr 07, 2006 at 23:16 +0200:
> John-Mark Gurney <gurney_j at resnet.uoregon.edu> wrote:
>  > Astrodog wrote this message on Fri, Apr 07, 2006 at 21:28 +0800:
>  > > and pointer, you use 4 Bytes. On a 64-bit processor, all ints, and
>  > > pointers take up 64-bits of memory. So, for every int and pointer, you
>  > > use 8 bytes. (Assuming its a 64-bit app, of course) That means
>  > 
>  > Not quite...  FreeBSD/amd64 like all? the other arches are LP64...
>  > that means longs and pointers are 64bits, while ints remain at 32bits...
> 
> I think longs are 32 bits on /i386, and 64 bits on /amd64
> (On /i386, "long longs" are 64 bits.)

Sorry, I ment to write like all the other 64bit arches....
					  ^^^^^

since i386 isn't 32bit, it isn't LP64, the same way arm or powerpc
isn't LP64...

-- 
  John-Mark Gurney				Voice: +1 415 225 5579

     "All that I will do, has been done, All that I have, has not."


More information about the freebsd-amd64 mailing list