Why is kernel mapped to the same address space as processes?

前端 未结 4 1882
没有蜡笔的小新
没有蜡笔的小新 2020-12-13 00:56

This is a question to elaborate on this one: Why is kernel said to be in process address space?

This might be a silly question but it just popped up i

4条回答
  •  悲哀的现实
    2020-12-13 01:48

    Another important reason why we say kernel is in the process address space is that kernel can access the user code/data of the CURRENT process, i.e. the virtual address space 0~3G.

    Sorry about my poor English. I am not a native English speaker.

提交回复
热议问题