Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932444Ab0KPVOx (ORCPT ); Tue, 16 Nov 2010 16:14:53 -0500 Received: from tango.0pointer.de ([85.214.72.216]:53833 "EHLO tango.0pointer.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932241Ab0KPVOw (ORCPT ); Tue, 16 Nov 2010 16:14:52 -0500 Date: Tue, 16 Nov 2010 22:14:31 +0100 From: Lennart Poettering To: Linus Torvalds Cc: david@lang.hm, Dhaval Giani , Peter Zijlstra , Mike Galbraith , Vivek Goyal , Oleg Nesterov , Markus Trippelsdorf , Mathieu Desnoyers , Ingo Molnar , LKML , Balbir Singh Subject: Re: [RFC/RFT PATCH v3] sched: automated per tty task groups Message-ID: <20101116211431.GA15211@tango.0pointer.de> References: <1289916171.5169.117.camel@maggy.simson.net> <1289916683.2109.625.camel@laptop> <20101116170312.GA19327@tango.0pointer.de> <20101116181603.GC19327@tango.0pointer.de> <20101116203306.GE27235@tango.0pointer.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Organization: Red Hat, Inc. X-Campaign-1: () ASCII Ribbon Campaign X-Campaign-2: / Against HTML Email & vCards - Against Microsoft Attachments User-Agent: Leviathan/19.8.0 [zh] (Cray 3; I; Solaris 4.711; Console) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1375 Lines: 35 On Tue, 16.11.10 12:38, Linus Torvalds (torvalds@linux-foundation.org) wrote: > > On Tue, Nov 16, 2010 at 12:33 PM, Lennart Poettering > wrote: > > > > No you don't. Because that is not a desktop use case. > > See my other response. You don't care AT ALL, because by your > judgement, all desktop is is a web browser and a word processor. Well, I do care. But I care more about *real* problems. For example the fact that "updatedb" makes your system sluggish while it runs. Or "man-db". Or anything else that runs from cron in the background. Doing this tty dance won't help you much with background tasks such as man-db, updatedb and cron and its jobs, will it? They don't have ttys. Sorry for you. meh! Meh! meh! meh! meh! (And along comes systemd, which actually handles this properly, since it actually has a proper notion of what a service is, and what a session is, and what an app is. And which hence can control all this sanely.) Binding this to a tty is just solves a tiny bit of the real problem: i.e. your own use of make -j. End of story. 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/