Hacker News new | ask | show | jobs
by rwmj 3253 days ago
Seems odd that it doesn't mention cgroups or the CLONE_* flags used to create namespaces for containers.
1 comments

Yes, cgroups can be used to impose limits on resources; and from the outside looking in, can look very similar to setrlimit(). But from the inside of the kernel looking out (generally, the perspective taken by the linux-insides book), they are very different subsystems; I expect that cgroups will come in quite a bit later. If the book were discussing how to limit resources, sure it should mention cgroups; but it is discussing how things work in the kernel, not how to get the kernel to do certain things.