Messages in this thread | | | From | James Cloos <> | Subject | Re: [RFC/RFT PATCH v3] sched: automated per tty task groups | Date | Wed, 17 Nov 2010 15:59:05 -0500 |
| |
>>>>> "LP" == Lennart Poettering <mzxreary@0pointer.de> writes:
LP> Heck, the patch wouldn't even have any effect on my machine (and I am LP> hacker), because I tend to run my builds from within emacs. And since LP> emacs has no TTY (since it is a X11/gtk build) it wouldn't be in its own LP> scheduling group.
M-x compile uses a pty to talk to its sub-process, so if ptys get their own cgroup then a compile w/in emacs will, too.
(Try using tty as the command M-x compile should run to confirm.)
-JimC -- James Cloos <cloos@jhcloos.com> OpenPGP: 1024D/ED7DAEA6
| |