mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Re: [RFC/RFT PATCH v3] sched: automated per tty task groups ... ps jaxk sid ... You are using the wrong number.
@ 2010-11-19  8:22 Robert de Bath
  2010-11-20  1:13 ` Linus Walleij
  0 siblings, 1 reply; 3+ messages in thread
From: Robert de Bath @ 2010-11-19  8:22 UTC (permalink / raw)
  To: linux-kernel

Hi everyone,

Please look at the result of this command ...

   ps jak sid
and
   ps jaxk sid

Notice the grouping for the SID column.

It's been proven that this patch is a good idea, but the SID number is the 
one that already provides the proper process grouping and is ALREADY
maintained by every program starter out there.

Using the SID solves the "all GUI programs are in the same group" problem
but still keeps "make -j99" in one group and different [a-z]terms in
different groups. What's more setsid(1) and setsid(2) make userspace
control really easy.

I think this means the time for allocating a new autogroup is when the
process DETACHES from a tty not when it attaches ...

PS: Not a mailing list member; CC me if you want to reply.

-- 
Rob.                          (Robert de Bath <robert$ @ debath.co.uk>)
                                              <http://www.debath.co.uk/>


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-11-20 13:11 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-11-19  8:22 [RFC/RFT PATCH v3] sched: automated per tty task groups ... ps jaxk sid ... You are using the wrong number Robert de Bath
2010-11-20  1:13 ` Linus Walleij
2010-11-20 13:11   ` Robert de Bath

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®