[問題] 幾題面試時碰到的問題(和Linux有關)

看板LinuxDev作者時間13年前 (2010/10/07 17:29), 編輯推噓3(304)
留言7則, 5人參與, 最新討論串1/3 (看更多)
1.三種user space可以切換至kernel space的方式 我想到的只有system call、Interrupt 2./dev/mtd0 與 /dev/mtdblock0 差別 前者是字元裝置,後者是區塊裝置,還有什麼區別嗎?? 3.kernel space 如何配置一塊記憶體給 user space使用? 完全不會回答... -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 59.104.50.122

10/07 18:21, , 1F
1.還有ioctl 3.mmap
10/07 18:21, 1F

10/07 19:40, , 3F
ioctl 不就是 syscall
10/07 19:40, 3F

10/07 20:50, , 4F
1. exception
10/07 20:50, 4F

10/08 10:39, , 5F
3. 配製kernel mem以後實作mmap function call給user用mma
10/08 10:39, 5F

10/08 10:39, , 6F
mmap system call
10/08 10:39, 6F

10/26 21:59, , 7F
好像是智X的考題喔 某家很夯的網通廠XD
10/26 21:59, 7F
文章代碼(AID): #1ChPBZ7p (LinuxDev)
文章代碼(AID): #1ChPBZ7p (LinuxDev)