Re: [RFC/RFT PATCH v3] sched: automated per tty task groups ... psjaxk sid ... You are using the wrong number.

From: Linus Walleij
Date: Fri Nov 19 2010 - 20:13:24 EST


2010/11/19 Robert de Bath <robert$@debath.co.uk>:

> Using the SID solves the "all GUI programs are in the same group" problem
> but still keeps "make -j99" in one group and different [a-z]terms in
> different groups. What's more setsid(1) and setsid(2) make userspace
> control really easy.

I grouped all the processes on my system but a few into per-session
control groups by a quick python hack into CGFreak. It looks very
funny atleast, I never spawned so many groups before:
http://www.df.lth.se/~triad/sidgroups/

The big circle in the middle shows the cgroups alottment, the
satellites show the processes inside each cgroup. The number
on the perimeter is the SID.

Yours,
Linus Walleij
--
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/