Re:Show HN: A “living” Linux process with no memory
by usr1106 on Friday March 27, 2020 @02:46AM
(#22700849)
I haven't read that book, but I enjoyed a conference tutorial about cgroups and namespaces by Michael Kerrisk. One of the best trainers/presenters I have experienced!
Re:Show HN: A “living” Linux process with no memory
by aaron_m04 on Thursday March 26, 2020 @09:28PM
(#22699734)
The version I have covers kernel 2.6. Is that new enough to still be useful?
Re:Show HN: A “living” Linux process with no memory
by usr1106 on Friday March 27, 2020 @02:39AM
(#22700819)
Useful yes, complete no.
Uninterruptible sleep, signals, memory mappings etc have not changed fundamentally.
Namespaces and cgroups are new concepts in Linux, they won't be covered. IIRC user namespaces appeared in 3.14. New cgroup hierarchy got somehow usable much later than that.
The new concepts are needed for containers. Not at all relevant for the original article here.
Re:Show HN: A “living” Linux process with no memory
by usr1106 on Friday March 27, 2020 @05:16AM
(#22701360)
Actually he is still maintaining a list of changes since the book has come out. http://man7.org/tlpi/api_changes/index.html
Uninterruptible process sleep is covered in section 22.3. Threads, in chapters 29–33. Signals, chapters 20–22. The proc file system in section 12.1. Memory mappings, chapters 49–50.