"Per process" limits for anything under Linux are difficult to
envisage in a world of multi-threaded processes. Currently, Linux has
no kernel abstraction to distinguish the kernel's notion of a task
(aka "thread") and the unix/user-level notion of a process. Limits
applied to a given task in a process (conventionally adequate for all
single-threaded processes) would not apply to other kernel threads
created using clone(). Presto, any "per process" limits are
circumvented.
Adding a kernel abstraction, such as a "group of tasks", would allow
such limits to be implemented in a sane fashion, and is flexible
enough to even allow the limits applied to groups of tasks not related
via fork()/clone().
Just another plug :)
--p
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/