Intel Linear Address Masking "LAM" Merged Into Linux 6.4

Written by Michael Larabel in Intel on 29 April 2023 at 06:52 AM EDT. 1 Comment
INTEL
Since 2020 Intel engineers have been working on Linear Address Masking (LAM) as a feature similar to Arm's Top Byte Ignore (TBI) for letting user-space store metadata within some bits of pointers without masking it out before use. This can be of use to virtual machines, profiling / sanitizers / tagging, and other applications. The Intel LAM kernel support has finally been merged with Linux 6.4.

Intel LAM was originally sent in for Linux 6.2 but at that stage last year Linus Torvalds ended up rejecting it after pointing out some issues.

After the code has been improved upon (although Linus Torvalds still not personally liking the feature's name), he has now pulled the enablement code for Linux 6.4.

Intel Linear Address Masking diagram


The LAM support was sent in as part of the x86/mm pull request. Linus Torvalds on Friday went ahead and merged the code. He didn't raise any fundamental objections this time to the code though he did end up writing a mew patch himself to make access_ok() independent of LAM after not being fond of that aspect. So look for Intel LAM now in Linux 6.4.
Related News
About The Author
Michael Larabel

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.

Popular News This Week