From: Dave McCracken <dmccr@us.ibm.com>
To: Mark Hahn <hahn@physics.mcmaster.ca>
Cc: Linux Kernel <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] processes with shared vm
Date: Fri, 17 Aug 2001 09:39:02 -0500 [thread overview]
Message-ID: <43080000.998059142@baldur> (raw)
In-Reply-To: <Pine.LNX.4.10.10108171428450.21522-100000@coffee.psychology.mcmaster.ca>
In-Reply-To: <Pine.LNX.4.10.10108171428450.21522-100000@coffee.psychology.mcm aster.ca>
--On Friday, August 17, 2001 14:30:28 +0000 Mark Hahn
<hahn@physics.mcmaster.ca> wrote:
> from a quick glance, there is no tgid, and deliberately so:
> proc.thread_group is a list of siblings, no? siblings that
> normally share their struct mm.
There is in fact a tgid in the task_struct. Its value is the pid of the
task that first called clone() with CLONE_THREAD set. And in fact the
getpid() system call actually returns tgid instead of pid. It seems to me
only reasonable to include this in the information available via /proc.
Dave McCracken
======================================================================
Dave McCracken IBM Linux Base Kernel Team 1-512-838-3059
dmccr@us.ibm.com T/L 678-3059
next parent reply other threads:[~2001-08-17 14:39 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <Pine.LNX.4.10.10108171428450.21522-100000@coffee.psychology.mcmaster.ca>
[not found] ` <Pine.LNX.4.10.10108171428450.21522-100000@coffee.psychology.mcm aster.ca>
2001-08-17 14:39 ` Dave McCracken [this message]
[not found] <997973469.7632.10.camel@pc-16.suse.lists.linux.kernel>
2001-08-17 8:21 ` [PATCH] processes with shared vm Andi Kleen
2001-08-17 8:31 ` Robert Love
2001-08-17 8:46 ` Terje Eggestad
2001-08-17 14:26 ` Dave McCracken
2001-08-17 20:55 ` Andi Kleen
2001-08-17 21:15 ` Dave McCracken
2001-08-18 13:29 ` Terje Eggestad
2001-08-31 23:53 ` Mike Touloumtzis
2001-08-17 7:50 Terje Eggestad
2001-08-17 7:56 ` Robert Love
2001-08-17 8:04 ` Terje Eggestad
2001-08-17 8:08 ` Robert Love
2001-08-17 8:15 ` Terje Eggestad
2001-08-17 12:26 ` michael
2001-08-18 14:15 ` Terje Eggestad
2001-08-19 6:24 ` Albert D. Cahalan
2001-08-19 12:23 ` Terje Eggestad
2001-08-19 23:25 ` Albert D. Cahalan
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=43080000.998059142@baldur \
--to=dmccr@us.ibm.com \
--cc=hahn@physics.mcmaster.ca \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.