Linux Performance Boosted by Security Tweak from Linus Torvalds
Linus Torvalds has implemented a small security tweak in the Linux OS’s source code to improve multithreaded performance. The tweak, x86/uaccess:Avoid barrier_nospec() in 64-bit copy_from_user(), targets Meltdown and Spectre attacks. It speeds up the OS by 2.6 percent. The tweak changes the use of barrier_nospec() API to prevent speculative execution, a modern CPU feature that … Read more