[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <alpine.LFD.2.21.1812112343580.11202@eddie.linux-mips.org>
Date: Wed, 12 Dec 2018 00:00:10 +0000 (GMT)
From: "Maciej W. Rozycki" <macro@...ux-mips.org>
To: Shawn Rutledge <s@...oud.org>
cc: linux-kernel@...r.kernel.org
Subject: Re: Can we drop upstream Linux x32 support?
On Tue, 11 Dec 2018, Shawn Rutledge wrote:
> I like the idea of x32 in theory: any machine with 4GB or less of memory
> for sure does not really need to waste any precious space storing 64-bit
> pointers; and even if more memory is available, software that needs to
> access more than 4GB per process is somewhat rare (as it should be).
You can't mmap(2) files the size of which exceeds the size of the 32-bit
user address space with an ILP32 ABI though, regardless of how much
physical memory a given system supports or has actually installed.
Also you can have a process's VM size exceed the 32-bit user address
space where swap files are used, e.g. I have a system with 3GiB of DRAM
installed and as much swap space available, where the amount of memory
consumed by a process sometimes exceeds 4GiB -- it's enough to open a
couple of web pages at once in a browser these days to get there (don't
ask me what it uses all that memory for).
So there are still use cases for an LP64 ABI even for systems the whole
physical memory of which can be handled with 32-bit addressing.
Maciej
Powered by blists - more mailing lists