[Python-Dev] How can we use 48bit pointer safely?

Ronald Oussoren ronaldoussoren at mac.com
Fri Mar 30 07:55:44 EDT 2018



On Mar 30, 2018, at 08:31 AM, INADA Naoki <songofacandy at gmail.com> wrote:

Hi,

As far as I know, most amd64 and arm64 systems use only 48bit address spaces.
(except [1])

[1] https://software.intel.com/sites/default/files/managed/2b/80/5-level_paging_white_paper.pdf

It means there are some chance to compact some data structures.
I point two examples below.

My question is; can we use 48bit pointer safely?

Not really, at least some CPUs can also address more memory than that. See <https://lwn.net/Articles/717293/> which talks about Linux support for 57-bit virtual addresses and 52-bit physical addresses. 

Ronald
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20180330/a6394fb2/attachment-0001.html>


More information about the Python-Dev mailing list