home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.linux
- Path: sparky!uunet!charon.amdahl.com!pacbell.com!ames!agate!spool.mu.edu!yale.edu!ira.uka.de!math.fu-berlin.de!news.netmbx.de!Germany.EU.net!mcsun!news.funet.fi!hydra!klaava!torvalds
- From: torvalds@klaava.Helsinki.FI (Linus Torvalds)
- Subject: Re: max pid
- Message-ID: <1993Jan26.215837.4886@klaava.Helsinki.FI>
- Organization: University of Helsinki
- References: <1993Jan20.012515.4992@gnusys.GUN.de> <1993Jan26.172438.4198@donau.et.tudelft.nl>
- Date: Tue, 26 Jan 1993 21:58:37 GMT
- Lines: 23
-
- In article <1993Jan26.172438.4198@donau.et.tudelft.nl> wolff@liberator.et.tudelft.nl (Rogier Wolff) writes:
- >kg@gnusys.GUN.de (Klaus Guhr) writes:
- >
- >>what is the max pid in Linux 0.99.pl3 ?
- >
- >Standard Unix is 30000. (not 32768.) Linux uses 65365 or something like
- >that. This is bad.
-
- It's not really *that* bad - only very few and badly coded programs
- count on pid's fitting in signed shorts, but as it was easy enough to
- change and I had another comment on this (Chip Salzenberg), I already
- changed linux to use the 15-bit limit. If you get the ALPHA-diff.Z file
- on nic.funet.fi (pub/OS/Linux/PEOPLE/Linus), and apply it to 0.99.4,
- you'll get a limit of 32767 (not 30000 - I doubt *this* means anything
- at all).
-
- Actually the above fix is one of the minor things in the ALPHA-diff
- (it's actually a one-char fix: a '0' changed into a '8'). The
- ALPHA-diff also fixes some 386 (not 486) math exception bugs, as well as
- fixing some tcp/ip things etc. All part of my ongoing service for those
- that want to keep up with the beelding edge of the kernel..
-
- Linus
-