x32 Support For Linux Kernel Called In For Review

Written by Michael Larabel in Intel on 20 February 2012 at 08:33 AM EST. 34 Comments
INTEL
The x32 effort, an undertaking to provide a native 32-bit ABI for x86_64 on Linux, is finally moving closer to fruition. Peter Anvin has published the set of x32 patches for the Linux kernel that are now up for review and comments.

Peter Anvin and others have long been working towards Linux x32: a native 32-bit ABI for Intel/AMD 64-bit systems so that applications not needing 64-bit pointers can benefit from 64-bit performance while using the memory foot-print of a 32-bit ABI. The Linux x32 ABI support necessitates changes to GNU binutils, the Linux kernel, Glibc, and the compiler (GCC). On Sunday the set of 30 patches touching around 1,000 lines of code was sent off to the kernel mailing list by Anvin.

Benchmarks by the developers have shown that x32 can be about up to 32% faster than x86_64 in some CPU benchmarks. However, in some cases it can also be slightly slower than x86_64 and/or ia32.

Those not familiar with Linux x32 can learn more from the x32abi Google Site where there are some benchmarks, setup information for building the necessary components and/or using the Gentoo or Fedora versions, and other information on the x32 ABI. The slides from the x32 presentation that Anvin did at least year's Linux Plumbers Conference are also available.

The x32 kernel changes isn't a pull request that Peter sent in with his mailing list message, but rather an RFC (Request For Comments). Anvin acknowledges there are some controversial issues as well as areas of incompleteness, but he's currently looking for review on the changes. Right now the work is based upon the Linux 3.3-rc3 kernel.
Related News
About The Author
Michael Larabel

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.

Popular News This Week