[issue4681] mmap offset should be off_t instead of ssize_t, and size calculation needs corrected

STINNER Victor report at bugs.python.org
Thu Feb 10 18:03:49 CET 2011


STINNER Victor <victor.stinner at haypocalc.com> added the comment:

Le jeudi 10 février 2011 à 16:41 +0000, Ross Lagerwall a écrit :
> Ross Lagerwall <rosslagerwall at gmail.com> added the comment:
> 
> 32-bit computers can address up to 4GiB of memory

... at least 4 GB. With PAE (Physical Address Extension), we can address
up to 2^36 bytes. It looks like mmap() do support PAE, I suppose that
you need 64 bits offset on a 32 bits system to be able to use PAE :-)

Victor

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue4681>
_______________________________________


More information about the Python-bugs-list mailing list