Pedantically, Linux does also self-modify for some of this stuff, but it's more constrained, jumps are rewritten to avoid branches for performance reasons: https://docs.kernel.org/staging/static-keys.html
Pedantically, Linux does also self-modify for some of this stuff, but it's more constrained, jumps are rewritten to avoid branches for performance reasons: https://docs.kernel.org/staging/static-keys.html
That's an interesting trick.