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

From: David Miller
Date: Tue Nov 16 2010 - 16:14:13 EST


From: Lennart Poettering <mzxreary@xxxxxxxxxxx>
Date: Tue, 16 Nov 2010 22:08:04 +0100

> On Tue, 16.11.10 12:46, David Miller (davem@xxxxxxxxxxxxx) wrote:
>
>>
>> From: Lennart Poettering <mzxreary@xxxxxxxxxxx>
>> Date: Tue, 16 Nov 2010 21:28:39 +0100
>>
>> > Heck, the patch wouldn't even have any effect on my machine (and I am
>> > hacker), because I tend to run my builds from within emacs. And since
>> > emacs has no TTY (since it is a X11/gtk build) it wouldn't be in its own
>> > scheduling group.
>>
>> Type 'tty' in that emacs shell, what does it give you?
>
> I am running "make -j", not a shell from emacs. it doesn't have a tty.
>
> I just want to build something, not have terminal emulator in emacs.

It does the same exact thing. Please actually check and verify
your facts instead of tossing back kneejerk responses.

davem@sunset:~/src/GIT$ cat Makefile
all:
tty
davem@sunset:~/src/GIT$

"M-x compile" in that directory gives:

--------------------
-*- mode: compilation; default-directory: "~/src/GIT/" -*-
Compilation started at Tue Nov 16 13:13:01

make -k
tty
/dev/pts/2

Compilation finished at Tue Nov 16 13:13:01
--------------------

--
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/