Linux patches clean up 32-bit x86 code after dropping vintage CPUs

Translated by a model; the original is in Russian.

· Linux and open source
After ending i486 support and removing AMD Elan code, Linux kernel developers have proposed patches that clear out legacy 32-bit x86 code. The kernel can now treat some CPU features as mandatory.

cover.svg

Linux kernel developers are still clearing out the legacy of early x86 processors. Following recent changes, a new set of patches tidies up the kernel's 32-bit x86 code.

What came before

The kernel has already dropped support for i486 processors. It has also removed the code for AMD Elan systems-on-chip, along with support for other obsolete 32-bit x86 hardware that has long since stopped evolving.

What changes

With the old hardware gone, the remaining code can be simplified. The kernel used to allow for the possibility that some CPU features might be missing. It can now require them unconditionally, which makes the extra checks and fallback code paths unnecessary.

The available announcement does not say which features become mandatory or which kernel version will include the changes.

The work follows a long-standing practice among kernel developers: code for hardware that almost no one uses is removed over time to cut maintenance costs and simplify the codebase. The 32-bit x86 architecture itself stays in the kernel, and its code becomes more compact.


Source: Phoronix

Comments

Sign in, to comment.

  • No comments yet.