Linus Torvalds writes: (Summary) Together with just the extra level of
'call/ret' and the stack setup, I'm guessing we're talking maybe 20
cycles or so.
cycles or so.
So there's the extra register saves, and simply the fact that the fastpath had a flatter calling structure.
fastpath had a flatter calling structure.
It still feels worth it. And if we do decide that we want to do the register clearing on kernel entry for some paranoid mode, we'd pretty much have to do this anyway.
much have to do this anyway.
Linus
Linus
Linus
cycles or so.
So there's the extra register saves, and simply the fact that the fastpath had a flatter calling structure.
fastpath had a flatter calling structure.
It still feels worth it. And if we do decide that we want to do the register clearing on kernel entry for some paranoid mode, we'd pretty much have to do this anyway.
much have to do this anyway.
Linus
Linus
Linus