Announcement

Collapse
No announcement yet.

Linux 5.10 To See Static Calls For Helping Cases Where Retpolines Are Used

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Linux 5.10 To See Static Calls For Helping Cases Where Retpolines Are Used

    Phoronix: Linux 5.10 To See Static Calls For Helping Cases Where Retpolines Are Used

    A new kernel feature sent in today for the Linux 5.10 merge window is static calls, which can be helpful in cases where Retpolines (return trampolines) are currently used as part of protections against speculative execution vulnerabilities like Spectre...

    Phoronix, Linux Hardware Reviews, Linux hardware benchmarks, Linux server benchmarks, Linux benchmarking, Desktop Linux, Linux performance, Open Source graphics, Linux How To, Ubuntu benchmarks, Ubuntu hardware, Phoronix Test Suite

  • #2
    So, in other words, now we're optimizing the kernel by using self modifying code? Awesome!

    Comment


    • #3
      Originally posted by ed31337 View Post
      So, in other words, now we're optimizing the kernel by using self modifying code? Awesome!
      The kernel has been using self-modifying code for optimisation and feature enablement for a long time. SMP enablement is one example.

      Comment


      • #4
        Originally posted by ed31337 View Post
        So, in other words, now we're optimizing the kernel by using self modifying code? Awesome!
        There is already a lot of self modifying code in kernel, one of more famous ones being ftrace.

        I am really surprised they didn't use this self modifying code approach first when they were implementing meltdown fixes and such. I guess they were on a tight schedule, and didn't want to mess things up.

        Comment

        Working...
        X