看板 LinuxDev 關於我們 聯絡資訊
進 system call 的方法有 int 80h 和 sysenter 兩種, 那請問 sysenter 和 int 80h 在 Linux 的實做上面有什麼差異呢? 一進去的時候 push 到 kernel stack 的 regisers 有差嗎? 先感謝各位了~ -- http://nfsnfs.pixnet.net 灰熊。紅襪。阿森納。 http://nfstry.blogspot.com 海邊。天空 -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 140.115.53.129
buganini:nfsnfs!! m(_ _)m 10/03 16:11
nfsnfs:...=_="" 我還以為有人回答了 XD 10/03 18:30
cyu021:印象中int 80h是以前的版本用的方法,新一點的都用sysenter 10/08 01:32
cyu021:根據Understanding the linux kernel的說法 10/08 01:33
cyu021:sysenter比較快,當兵沒多久腦袋就空空,因此細節請看code 10/08 01:34
nfsnfs:看了 code 還是看不懂 XD Understanding the Linux kernel 10/08 13:14
nfsnfs:大部分都討論 int 80h 的部份 :Q~ 10/08 13:14