3 ms·
Linux does this, actually. It's called "static calls", and it saves on an indirect branch by directly overwriting jmp instructions to point elsewhere: https://b
by saagarjha 5y ago
Linux does this, actually. It's called "static calls", and it saves on an indirect branch by directly overwriting jmp instructions to point elsewhere: https://blog.yossarian.net/2020/12/16/Static-calls-in-Linux-5-10 https://blog.yossarian.net/2020/12/16/Static-calls-in-Linux-.... As others have mentioned, doing this repeatedly has performance implications.