[PATCH 0/9] (mostly) x86 kernel configuration adjustments

Philip Prindeville philipp_subx at redfish-solutions.com
Fri Apr 28 09:39:57 PDT 2023



> On Apr 26, 2023, at 2:11 PM, Elliott Mitchell <ehem+openwrt at m5p.com> wrote:
> 
> Now we come to the item I've mentioned.  The X32 ABI.  This is running an
> amd64 processor in amd64 mode, but truncating all pointers to 32 bits
> (ILP32 mode).  This shrinks the runtime size of programs in exchange for
> limiting them to a maximum of 4GB of memory.  The result is often a
> significant speed increase over both i386 and amd64 modes, largely due to
> reducing memory use.
> 
> For rather a lot of programs, 4GB of memory is plenty.  Have you ever
> observed `ls` or a shell use anywhere near that much?  The fact most
> devices running OpenWRT don't have that much *total* memory says the
> limitation is worthwhile.


Personally I don't want to relive thunking hell.




More information about the openwrt-devel mailing list