Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932275Ab0KRXgP (ORCPT ); Thu, 18 Nov 2010 18:36:15 -0500 Received: from mailout-de.gmx.net ([213.165.64.22]:42683 "HELO mail.gmx.net" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with SMTP id S1756263Ab0KRXgN (ORCPT ); Thu, 18 Nov 2010 18:36:13 -0500 X-Authenticated: #14349625 X-Provags-ID: V01U2FsdGVkX18d7SIchh8dRVNEQ4rN73CwDt8FIcDVcElO+/r0nW eIZRnb5hiOVLKm Subject: Re: [RFC/RFT PATCH v3] sched: automated per tty task groups From: Mike Galbraith To: Samuel Thibault Cc: Hans-Peter Jansen , linux-kernel@vger.kernel.org, Lennart Poettering , Linus Torvalds , david@lang.hm, Dhaval Giani , Peter Zijlstra , Vivek Goyal , Oleg Nesterov , Markus Trippelsdorf , Mathieu Desnoyers , Ingo Molnar , Balbir Singh In-Reply-To: <20101118231218.GX6024@const.famille.thibault.fr> References: <1289916171.5169.117.camel@maggy.simson.net> <20101116211431.GA15211@tango.0pointer.de> <201011182333.48281.hpj@urpla.net> <20101118231218.GX6024@const.famille.thibault.fr> Content-Type: text/plain; charset="UTF-8" Date: Thu, 18 Nov 2010 16:35:51 -0700 Message-ID: <1290123351.18039.49.camel@maggy.simson.net> Mime-Version: 1.0 X-Mailer: Evolution 2.30.1.2 Content-Transfer-Encoding: 8bit X-Y-GMX-Trusted: 0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1134 Lines: 23 On Fri, 2010-11-19 at 00:12 +0100, Samuel Thibault wrote: > Hans-Peter Jansen, le Thu 18 Nov 2010 23:33:46 +0100, a écrit : > > As already mentioned countless times (and some of it was even renamed > > for this very fact): the grouping by tty is just a starter. There are > > plenty of other possibilities to group the scheduling. The hard part is > > to find the right grouping concepts, that are making sense in the > > usability department _and_ are easy enough to be picked up from our > > favorite system and desktop environments. That's where the generic > > cgroup concept seems to be lacking ATM.. > > Actually, cgroups should probably be completely hierarchical: sessions > contain process groups, which contain processes, which contain threads. > You could also gather sessions with the same uid. Hierarchical is ~tempting, but adds overhead for not much gain. -Mike -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/