mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Matthew Wilcox <Matthew.Wilcox@genedata.com>
To: Andries.Brouwer@cwi.nl
Cc: ralf@uni-koblenz.de, alan@lxorguk.ukuu.org.uk, bishop@sekure.org,
	daniel.kobras@student.uni-tuebingen.de, drepper@cygnus.com,
	linux-kernel@vger.rutgers.edu, mingo@chiara.csoma.elte.hu
Subject: Re: size of pid_t (was: Re: NR_TASKS as config option)
Date: Mon, 14 Jun 1999 11:08:38 +0200	[thread overview]
Message-ID: <19990614110838.J1415@mencheca.ch.genedata.com> (raw)
In-Reply-To: <UTC199906131847.UAA26622.aeb@eland.cwi.nl>; from Andries.Brouwer@cwi.nl on Sun, Jun 13, 1999 at 08:47:08PM +0200

On Sun, Jun 13, 1999 at 08:47:08PM +0200, Andries.Brouwer@cwi.nl wrote:
>         #define PID_MAX 0x8000
> in <linux/tasks.h>, and at first sight not much goes wrong
> if we pick some larger number for PID_MAX, like 0x7fffffff.
> (There are some comparisons around, so for simplicity we should
> keep PID_MAX positive.)

Also, a negative pid_t is used to represent the process group in some
calls, notably the SIOCSPGRP and SIOCGPGRP ioctls.

-- 
Matthew Wilcox <willy@bofh.ai>
"Windows and MacOS are products, contrived by engineers in the service of
specific companies. Unix, by contrast, is not so much a product as it is a
painstakingly compiled oral history of the hacker subculture." - N Stephenson

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

  parent reply	other threads:[~1999-06-14  9:09 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-06-13 18:47 Andries.Brouwer
1999-06-13 19:48 ` Pavel Machek
1999-06-15  0:43   ` Mike Touloumtzis
1999-06-14  9:08 ` Matthew Wilcox [this message]
1999-06-14  9:22 ` Ralf Baechle

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=19990614110838.J1415@mencheca.ch.genedata.com \
    --to=matthew.wilcox@genedata.com \
    --cc=Andries.Brouwer@cwi.nl \
    --cc=alan@lxorguk.ukuu.org.uk \
    --cc=bishop@sekure.org \
    --cc=daniel.kobras@student.uni-tuebingen.de \
    --cc=drepper@cygnus.com \
    --cc=linux-kernel@vger.rutgers.edu \
    --cc=mingo@chiara.csoma.elte.hu \
    --cc=ralf@uni-koblenz.de \
    /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®