mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Robert de Bath <robert$@debath.co.uk>
To: linux-kernel@vger.kernel.org
Subject: Re: [RFC/RFT PATCH v3] sched: automated per tty task groups ... ps jaxk sid ... You are using the wrong number.
Date: Fri, 19 Nov 2010 08:22:56 +0000 (GMT)	[thread overview]
Message-ID: <Pine.LNX.4.61.1011190750500.8468@mayday.local> (raw)

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


             reply	other threads:[~2010-11-19  8:41 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-19  8:22 Robert de Bath [this message]
2010-11-20  1:13 ` Linus Walleij
2010-11-20 13:11   ` Robert de Bath

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Pine.LNX.4.61.1011190750500.8468@mayday.local \
    --to=robert$@debath.co.uk \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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®