3 ms·
Where can I read more about Linux internals? Any good resource with design decisions and algorithms?
by currriuosly 10y ago
Where can I read more about Linux internals? Any good resource with design decisions and algorithms?
- thedjinn 10y agoI read Understanding The Linux Kernel 3rd edition a couple of years ago and that book covers quite a lot of it.
- alpb 10y agohttps://www.gitbook.com/book/0xax/linux-insides https://www.gitbook.com/book/0xax/linux-insides
- hoytech 10y agoIn terms of virtual memory, there's a somewhat dated book that explains the linux implementation: https://www.kernel.org/doc/gorman/pdf/understand.pdf https://www.kernel.org/doc/gorman/pdf/understand.pdf And there are some maintained text files in the kernel source tree itself: https://www.kernel.org/doc/Documentation/vm/ https://www.kernel.org/doc/Documentation/vm/ Of particular interest is the pagemap.txt file. There's also a really neat utility in the kernel source called page-types and you can learn a lot by compiling it and playing around, and of course reading the source (there are lots of tricks in there): http://lxr.free-electrons.com/source/tools/vm/page-types.c http://lxr.free-electrons.com/source/tools/vm/page-types.c Finally, you could also read the source to vmtouch or my vmprobe utilities, or ask questions in the vmtouch github repo -- we can probably point you in the right direction.