作者gowrite (gowrite)
看板LinuxDev
标题[问题] 关於 user and kernel space
时间Wed Jul 18 12:44:14 2018
想问一下
一般写 application 用了很多 API , system call 那些
但只要没改到 kernel 的内容 , 应该就是都算 user space 的 programming 吧??
那 kernel space programming 是不是应该是指
为了因应某些平台或系统的特殊需求 , 而改写原来的 kernel 档案 ,
并且重新编译後执行 , 已符合特殊的需求或 application 的需求
请问关於 user space 跟 kernel space 的 programming 差别
是不是这样解释的??
谢谢
--
※ 文章网址: https://webptt.com/cn.aspx?n=bbs/LinuxDev/M.1531889056.A.50D.html
1F:→ james732: driver也是kernel space的范围 07/18 13:14
2F:→ leolarrel: 不是,不过我觉得我的答案在恐龙书里写得更完整 07/18 13:36
3F:→ maydaychaaaa: 就看你写的code是跑在kernel space or user space呀 07/25 18:35
4F:→ ThxThx: 我觉得最最最简单说应该是关於资源存取权限的差别 09/19 03:40
5F:→ ThxThx: 所以user space需用system call从kernel space取得资源 09/19 03:40
※ 编辑: gowrite (42.73.198.42), 10/10/2018 04:49:50