Linux 6.1 Lands Revert For "Huge Performance Regressions" From Three Lines Of Code
BRANK

Show Your Support: Have you heard of Phoronix Premium? It's what complements advertisements on this site for our premium ad-free service. For less than $4 USD per month, you can help support our site while the funds generated allow us to keep doing Linux hardware reviews, performance benchmarking, maintain our community forums, and much more.Ahead of the Linux 6.1-rc8 kernel that Linus Torvalds is expected to issue shortly rather than going straight to Linux 6.1 stable, a revert for a small change leading to "huge performance regressions" in select areas has fortunately been caught and reverted.For the Linux 6.1 merge window was a memory management change to align larger anonymous mappings to THP boundaries. Thecommitreasoned:"Align larger anonymous memory mappings on THP boundaries by going through thp_get_unmapped_area if THPs are enabled for the current process.With this patch, larger anonymous mappings are now THP aligned. When a malloc library allocates a 2MB or larger arena, tha…

phoronix.com
Related Topics: Linux