News for hackers. Stuff that matters.
Re:Linux-insides: Limits on resources in Linux by rwmj on Sunday July 30, 2017 @10:22AM (#14886056)
Seems odd that it doesn't mention cgroups or the CLONE_* flags used to create namespaces for containers.
Re:Linux-insides: Limits on resources in Linux by LukeShu on Sunday July 30, 2017 @04:21PM (#14887597)
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.