Get the latest tech news

Linus Torvalds Adapts Linux User Address Masking To Use CMOV


In addition to merging a number of the pull requests yesterday for the start of the Linux 6.14 cycle, Linux creator Linus Torvalds did merge some of his own new code as well

For kicking off the Linux 6.14 cycle, Torvalds landed a patch he authored to begin making use of the CMOV instruction on x86/x86_64 systems for user address masking. This action follows this kernel mailing list thread from December that suggested using CMOV for the user address masking code in order to fix an issue that cropped up as well as being shorter than SBB and OR. "This was a suggestion by David Laight, and while I was slightly worried that some micro-architecture would predict cmov like a conditional branch, there is little reason to actually believe any core would be that broken.

Get the Android app

Or read this on Phoronix