mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Andrew Morton <akpm@osdl.org>
To: Jeremy Fitzhardinge <jeremy@goop.org>
Cc: mingo@redhat.com, drepper@redhat.com, roland@redhat.com,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH] use group_leader->pgrp (was Re: setpgid and threads)
Date: Mon, 8 Sep 2003 19:12:15 -0700	[thread overview]
Message-ID: <20030908191215.22f501a2.akpm@osdl.org> (raw)
In-Reply-To: <1063072786.4004.11.camel@localhost.localdomain>

Jeremy Fitzhardinge <jeremy@goop.org> wrote:
>
> On Wed, 2003-08-20 at 19:49, Andrew Morton wrote:
> > Using current->thread_group->foo sounds like a reasonable solution
> 
> Here's a patch to use group_leader->pgrp rather than just ->pgrp so that
> all threads in a group appear to have the same process group ID.

Just a quick maintainance thing:


> -				if (is_orphaned_pgrp(current->pgrp))
> +				if (is_orphaned_pgrp(current->group_leader->pgrp))

Would it make sense to do this via

	if (is_orphaned_pgrp(process_group(current)))

and to then rename task_struct.pgrp to something else, to pick up any
missed conversions?


  reply	other threads:[~2003-09-09  2:10 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1061424262.24785.29.camel@localhost.localdomain>
     [not found] ` <20030820194940.6b949d9d.akpm@osdl.org>
2003-09-09  1:59   ` Jeremy Fitzhardinge
2003-09-09  2:12     ` Andrew Morton [this message]
2003-09-09  2:13       ` Jeremy Fitzhardinge
2003-09-09  3:21         ` Andrew Morton
2003-09-09  3:54           ` Ulrich Drepper
2003-09-09  4:17             ` Andrew Morton
2003-09-09  4:38               ` Ulrich Drepper
2003-09-09  5:56               ` Jeremy Fitzhardinge
2003-09-09  6:24       ` Roland McGrath

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=20030908191215.22f501a2.akpm@osdl.org \
    --to=akpm@osdl.org \
    --cc=drepper@redhat.com \
    --cc=jeremy@goop.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@redhat.com \
    --cc=roland@redhat.com \
    /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®