Messages in this thread | | | From | Paul Menage <> | Date | Wed, 19 Oct 2011 14:12:13 -0700 | Subject | Re: A Plumber’s Wish List for Linux |
| |
On Thu, Oct 6, 2011 at 4:17 PM, Kay Sievers <kay.sievers@vrfy.org> wrote: > > * fork throttling mechanism as basic cgroup functionality that is > available in all hierarchies independent of the controllers used: > This is important to implement race-free killing of all members of a > cgroup, so that cgroup member processes cannot fork faster then a cgroup > supervisor process could kill them. This needs to be recursive, so that > not only a cgroup but all its subgroups are covered as well.
If that's your end goal, then an alternative to the freezer support that others have mentioned would be a 'cgroup.signal' file which, when written to, would send that signal to all members of the cgroup at once. Perhaps simpler than having to get in the way of the fork path more and manage a rate-limit.
> > * allow user xattrs to be set on files in the cgroupfs (and maybe > procfs?)
What would the use case be for this?
Paul
| |