News: 0001540611

  ARM Give a man a fire and he's warm for a day, but set fire to him and he's warm for the rest of his life (Terry Pratchett, Jingo)

Intel Engineer Preparing To Land Change For Cleaning Up 32-bit x86 Linux Kernel Code

([Linux Kernel] 4 Hours Ago PTI + PAE)


The work talked about back in January for [1]improving the 32-bit PAE Linux kernel code for Physical Address Extensions to better jive with the code around Page Table Isolation (PTI) for mitigating the Meltdown vulnerability could soon be merged.

Intel Linux engineer Dave Hansen has been working to simplify the Physical Address Extensions (PAE) page table handling code in conjunction with the Page Table Isolation code, which is enabled in most environments for security concerns around Meltdown. This is a nice simplification of the x86 kernel code to ease in maintenance but does come with the known cost of non-PTI PAE kernels seeing some excess bloat albeit not a widely expected configuration in the real-world. Hansen explains in today's [2]updated patch series :

"tl;dr: 32-bit PAE page table handing is a bit different when PTI is on and off. Making the handling uniform removes a good amount of code at the cost of not sharing kernel PMDs. The downside of this simplification is bloating non-PTI PAE kernels by ~2 pages per process.

Anyone who cares about security on 32-bit is running with PTI and PAE because PAE has the No-eXecute page table bit. They are already paying the 2-page penalty. Anyone who cares more about memory footprint than security is probably already running a !PAE kernel and will not be affected by this."

Hansen says he plans on applying these patches soon unless issues are raised surrounding the code. Thus this Linux x86 32-bit clean-up could land with the Linux 6.16 kernel cycle this summer.



[1] https://www.phoronix.com/news/Linux-2025-Improving-32-bit-PAE

[2] https://lore.kernel.org/lkml/20250414173232.32444FF6@davehans-spike.ostc.intel.com/



phoronix

Brief History Of Linux (#26)

On the surface, Transmeta was a secretive startup that hired Linus
Torvalds in 1996 as their Alpha Geek to help develop some kind of
microprocessor. Linus, everyone found out later, was actually hired as
part of a low-budget yet high-yield publicity stunt. While other dotcoms
were burning millions on glitzy marketing campaigns nobody remembers and
Superbowl ads displayed while jocks went to the bathroom, Transmeta was
spending only pocket change on marketing. Most of that pocket change went
towards hosting the Transmeta website (the one that wasn't there yet)
which, incidentally, contained more original content and received more
visitors than the typical dotcom portal.

Microsoft relies on vaporware and certain ahem stipends given to
journalists in order to generate buzz and hype for new products, but
Transmeta only needed Non-Disclosure Agreements and the Personality Cult
of Linus to build up its buzz. When the secret was finally unveiled, the
Slashdot crowd was all excited about low-power mobile processors and
code-morphing algorithms -- for a couple days. Then everyone yawned and
went back to playing Quake. It's still not entirely clear when Transmeta
is actually supposed to start selling something.