HomeLinuxLinus Torvalds Cleaned Up the Intel LAM Code for Linux 6.4

Linus Torvalds Cleaned Up the Intel LAM Code for Linux 6.4


Final week Linus Torvalds personally cleaned up the x86 reminiscence copy code for Linux 6.4, Phoronix reviews — and this week “he is merged extra of his personal code as he took difficulty with a few of the code merged by Intel engineers as a part of their Linear Deal with Masking enabling.”

Again throughout the Linux 6.2 days on the finish of final 12 months, Linus rejected the Intel LAM code on the time for numerous technical points. Intel then reworked it for Linux 6.4. This time round Linus merged Intel LAM into Linux 6.4 as this new CPU function for letting user-space retailer metadata inside some bits of pointers with out masking it out earlier than use. Intel LAM — like Arm TBI — could be of use to digital machines, profiling / sanitizers / tagging, and different purposes. However this time round there have been some lower than ideally suited code that he personally took to sprucing up…

Torvalds reworked round 100 traces of code for cleansing it up.
It is enjoyable to learn Torvalds’ commit messages (included in each Phoronix articles). Torvalds begins by writing that the LAM updates “made me sad about how ‘access_ok()’ was finished, and it truly turned out to have a few small bugs in it too…”

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments