3 ms·
64-bit call gates may well be useless, but the corresponding return instruction (LRETQ or whatever you want to call it) can be useful. I have prototype Linux c
by amluto 9y ago
64-bit call gates may well be useless, but the corresponding return instruction (LRETQ or whatever you want to call it) can be useful. I have prototype Linux code to use it instead of IRET, and it's considerably faster.
- aionescu 9y agoGot some numbers/public information? Would love to know more.
- amluto 9y agoMy old prototype is here: https://git.kernel.org/pub/scm/linux/kernel/git/luto/linux.git/commit/?h=x86/lret-to-userspace&id=05ce2ed5b8a1fc4465114000f222d0c60bf5ddaf https://git.kernel.org/pub/scm/linux/kernel/git/luto/linux.g...