Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932071Ab0KPT1a (ORCPT ); Tue, 16 Nov 2010 14:27:30 -0500 Received: from mail-qy0-f174.google.com ([209.85.216.174]:49534 "EHLO mail-qy0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757494Ab0KPT12 (ORCPT ); Tue, 16 Nov 2010 14:27:28 -0500 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=WM5e8Yn570yBs/dsqL5EcHOP+eTvUNRnXXnaIsQHYcKGM6+3R+1imMSHGAScZOFlUc bOOB0n3bz9Iyz6m9bW9Keulu9Y0ClWbTUgyRUGLekVKAdDTR3FOLDnjlaVoqF/rRkQAo yb+wBFhiKVbjgjfCAcvDisRtvmWrg38U/3HyU= MIME-Version: 1.0 In-Reply-To: References: <1289820766.16406.45.camel@maggy.simson.net> <1289821590.16406.47.camel@maggy.simson.net> <20101115125716.GA22422@redhat.com> <1289856350.14719.135.camel@maggy.simson.net> <20101116015648.GA11534@redhat.com> <1289916171.5169.117.camel@maggy.simson.net> <1289916683.2109.625.camel@laptop> <20101116170312.GA19327@tango.0pointer.de> <20101116181603.GC19327@tango.0pointer.de> Date: Tue, 16 Nov 2010 20:27:27 +0100 Message-ID: Subject: Re: [RFC/RFT PATCH v3] sched: automated per tty task groups From: Dhaval Giani To: Linus Torvalds Cc: Lennart Poettering , Peter Zijlstra , Mike Galbraith , Vivek Goyal , Oleg Nesterov , Markus Trippelsdorf , Mathieu Desnoyers , Ingo Molnar , LKML , Balbir Singh Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1503 Lines: 34 On Tue, Nov 16, 2010 at 7:49 PM, Linus Torvalds wrote: > On Tue, Nov 16, 2010 at 10:16 AM, Lennart Poettering > wrote: >> >> Here's my super-complex patch btw, to achieve exactly the same thing >> from userspace without involving any kernel or systemd patching and >> kernel-side logic. Simply edit your own ~/.bashrc and add this to the end: > > Right. And that's basically how this "patch" was actually tested > originally - by doing this by hand, without actually having a patch in > hand. I told people: this seems to work really well. Mike made it work > automatically. > > Because it's something we want to do it for all users, and for all > shells, and make sure it gets done automatically. Including for users > that have old distributions etc, and make it easy to do in one place. > And then you do it for all the other heuristics we can see easily in > the kernel. And then you do it magically without users even having to > _notice_. > So what do you think about something like systemd handling it. systemd already does a lot of this stuff already in the form of process tracking, so it is quite trivial to do this. And more happily avoids all this complexity in the kernel. Thanks, Dhaval -- 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/