Re: [RFC/RFT PATCH v3] sched: automated per tty task groups

From: Lennart Poettering
Date: Tue Nov 16 2010 - 19:22:23 EST


On Tue, 16.11.10 18:39, Ted Ts'o (tytso@xxxxxxx) wrote:

>
> On Tue, Nov 16, 2010 at 10:19:09PM +0100, Lennart Poettering wrote:
> > Well, my plan was actually to by default put everything into its own
> > group, and then let users opt-out of that for specific processes, if the
> > want to.
>
> How many users are likely to do this, though?
>
> I think you really want to make this be something which the
> application can specify by default that they should start in their own
> cgroup. One idea might be to it to the applications menu entry:
>
> http://standards.freedesktop.org/desktop-entry-spec/latest/
>
> ... so there would be a new key value pair, "start_in_cgroup", that
> would allow the user to start an application in their own cgroup. It
> would be up to the desktop launcher to honor that if it was present.

This is pretty much in line with what I want to do, except I want
opt-out, not opt-in behaviour here.

Lennart

--
Lennart Poettering - Red Hat, Inc.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/