Kernel address space layout

Userland address space is well documented, which includes segments like heap, stack, .text, .bss, etc. But there is not enough documentation on kernel address space. Since certain virtual address is used in kernel space, I am wondering how kernel space is structured?

PS: I heard there is a kernel stack segment, but can not find a more systematic introduction on the kernel address space.

The platform of interest is x86_64 and Linux 3-*

Asked By: Richard


It may be a huge doc to start, but I think it’s worth the time you’ll need to read it : Have look on the “Linux-Insides” doc, more precisely the Memory Management part.
You can also read it through Gitbooks

Have fun.

Answered By: Adrien M.
Categories: Answers Tags: ,
Answers are sorted by their score. The answer accepted by the question owner as the best is marked with
at the top-right corner.