[lkml]   [2010]   [Nov]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [RFC/RFT PATCH v3] sched: automated per tty task groups ... ps jaxk sid ... You are using the wrong number.
Hi everyone,

Please look at the result of this command ...

ps jak sid
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$ @>)

 \ /
  Last update: 2010-11-19 09:43    [W:0.032 / U:1.960 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site