linux-kernel-notes

SEARCH

What is active_mm?

User process A (Task A)의 페이지 테이블에는 Userspace mapping과 Kernelspace mapping이 함께 있다. 한편, Kernel thread K는 Userspace mapping이 필요 없고 Kernelspace mapping만 필요하다.

6 min readLinux Kernel Notescat post.md

KAISER-hiding the kernel from userspace

Linux는 초창기부터 커널의 메모리를 모든 실행중인 프로세스의 주소 공간에 매핑시켰다. 이러한 것은 상당한 수준의 성능 향상을 가져왔고, 프로세서의 MMU(Memory Management Unit)이 Userspace에서 이러한 커널 메모리에 접근하는 것을 막았다.

8 min readLinux Kernel Noteslwncat post.md