The last Linux MMX optimisations are set to be removed from the kernel, ending nearly three decades of specialised support for Intel’s original multimedia instruction set. A three-patch series submitted by Google engineer Eric Biggers removes obsolete assembly routines from the software RAID subsystem, eliminating 837 lines of code while adding just 12. The changes are expected to enter the mainline kernel with Linux 7.5, scheduled for release in 2027. The patches were submitted on 25 October 2026 and have entered Andrew Morton’s memory-management development tree, although their inclusion in Linux 7.5 has not yet been confirmed. Linux MMX optimisations removed from RAID The three-patch series targets the remaining MMX implementations used for XOR calculations and RAID6 parity operations. These routines were designed to accelerate software RAID on early 32-bit x86 processors that lacked more advanced SIMD instruction sets. The first patch removes a 515-line MMX implementation of XOR operations, together with its associated build and registration code. The second eliminates the MMX-specific RAID6 routines, including an implementation that combined MMX instructions with SSE prefetching and non-temporal stores. The third simplifies processor feature checks used to select RAID6 algorithms. According to Biggers, the optimised code is relevant only to approximately 25-year-old processors that lack SSE or SSE2 support, and only when those systems use software RAID. Affected processors include the Intel Pentium MMX and Pentium II, alongside comparable AMD processors. What happens to older processors? The removal does not eliminate MMX instruction support from Linux or prevent older processors from running the operating system. Instead, affected systems will use existing scalar C implementations for the relevant RAID operations. These alternatives are already available and have been extensively tested. Intel introduced MMX with its Pentium MMX processors in January 1997. The instruction-set extension added packed-integer SIMD operations, allowing multiple small data elements to be processed simultaneously within 64-bit registers. This was particularly useful for multimedia applications involving audio, video and image processing. Intel subsequently introduced SSE and SSE2, which provided more capable SIMD facilities. The original MMX optimisations gradually became redundant as newer processors and instruction sets replaced the hardware for which they had been developed. Removing the last MMX code Most MMX-specific kernel optimisations had already disappeared by 2021, when developers removed routines associated with commonly used memory operations, including memcpy() , copy_page() and clear_page() . The RAID implementations were the remaining exceptions. According to Biggers, the kernel no longer contains MMX-specific optimisations for other functions, including cryptographic operations and cyclic redundancy checks. Removing these Linux MMX optimisations reduces the amount of architecture-specific code that developers must maintain and test, without eliminating the underlying functionality. The change also illustrates the maintenance challenges associated with long-lived computing platforms. As previously examined by eeNews Europe in its reporting on embedded Linux systems , industrial hardware can remain in service for more than a decade, requiring continued attention to software compatibility and support. The post Linux MMX optimisations set for removal in kernel 7.5 appeared first on eeNews Europe .
Linux MMX optimisations set for removal in kernel 7.5
IntelGoogle
英文
The last Linux MMX optimisations are set to be removed from the kernel, ending nearly three decades of specialised support for Intel’s original multimedia instruction set. A three-patch series submitted by Google engineer Eric Biggers removes obsolete assembly routines from the software RAID subsystem, eliminating 837 lines of code while adding just 12. The changes […] The post Linux MMX optimisations set for removal in kernel 7.5 appeared first on eeNews Europe .
本站仅提供摘要,完整内容请阅读原文(版权归原媒体所有)
https://www.eenewseurope.com/en/linux-mmx-optimisations-kernel-7-5/
相关阅读
12-05 09:49
12-05 09:38
12-05 09:25
12-05 09:10
12-05 08:34