Linux System Calls

元气小坏坏 提交于 2019-12-25 03:45:35

问题


Whats the changed over time on how Linux system calls were implemented on older (8086/88) Intel CPUS vs more modern CPU's.


回答1:


The biggest change is the sysenter/sysexit (Intel's creation) and syscall/sysret (AMD's version) instructions on newer x86 (and Intel 64/AMD64) processors. These speed up system calls drastically compared to the interrupt method used previously. This has to do with reducing the steps the processor must go through when invoking a system call, and you can read up on them in the Intel manuals.



来源:https://stackoverflow.com/questions/14681029/linux-system-calls

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!