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.
Or read this on Phoronix