Get the latest tech news

Linus Torvalds Lands A 2.6% Performance Improvement With Minor Linux Kernel Patch


Linus Torvalds merged a patch on Wednesday that he authored that with reworking a few lines of code is able to score a 2.6% improvement within Intel's well-exercise 'will it scale' per-thread-ops benchmark test case.

Linus Torvalds merged a patch on Wednesday that he authored that with reworking a few lines of code is able to score a 2.6% improvement within Intel's well-exercise "will it scale" per-thread-ops benchmark test case. With copy_from_user() being used to copy a block of data from user-space to kernel-space, it will be interesting to see if this minor optimization ends up having an impact in any of the other synthetic or real-world workloads. Especially when this optimization is a result of avoiding the overhead of barrier_nospec -- preventing speculative execution past the barrier as part of the Spectre mitigations that have been oh so costly over the years.

Get the Android app

Or read this on Phoronix

Read more on:

Photo of linux kernel

linux kernel

Photo of Linus Torvalds

Linus Torvalds

Related news:

News photo

Combustion engines grind Linus Torvalds' gears

News photo

Linus Torvalds: 90% of AI marketing is hype

News photo

Linus Torvalds Dismisses AI Industry as '90% Marketing'