home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / os / linux / 25692 < prev    next >
Encoding:
Text File  |  1993-01-28  |  1.5 KB  |  34 lines

  1. Newsgroups: comp.os.linux
  2. 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
  3. From: torvalds@klaava.Helsinki.FI (Linus Torvalds)
  4. Subject: Re: max pid
  5. Message-ID: <1993Jan26.215837.4886@klaava.Helsinki.FI>
  6. Organization: University of Helsinki
  7. References: <1993Jan20.012515.4992@gnusys.GUN.de> <1993Jan26.172438.4198@donau.et.tudelft.nl>
  8. Date: Tue, 26 Jan 1993 21:58:37 GMT
  9. Lines: 23
  10.  
  11. In article <1993Jan26.172438.4198@donau.et.tudelft.nl> wolff@liberator.et.tudelft.nl (Rogier Wolff) writes:
  12. >kg@gnusys.GUN.de (Klaus Guhr) writes:
  13. >
  14. >>what is the max pid in Linux 0.99.pl3 ?
  15. >
  16. >Standard Unix is 30000. (not 32768.) Linux uses 65365 or something like
  17. >that.  This is bad.
  18.  
  19. It's not really *that* bad - only very few and badly coded programs
  20. count on pid's fitting in signed shorts, but as it was easy enough to
  21. change and I had another comment on this (Chip Salzenberg), I already
  22. changed linux to use the 15-bit limit.  If you get the ALPHA-diff.Z file
  23. on nic.funet.fi (pub/OS/Linux/PEOPLE/Linus), and apply it to 0.99.4,
  24. you'll get a limit of 32767 (not 30000 - I doubt *this* means anything
  25. at all). 
  26.  
  27. Actually the above fix is one of the minor things in the ALPHA-diff
  28. (it's actually a one-char fix: a '0' changed into a '8').  The
  29. ALPHA-diff also fixes some 386 (not 486) math exception bugs, as well as
  30. fixing some tcp/ip things etc.  All part of my ongoing service for those
  31. that want to keep up with the beelding edge of the kernel.. 
  32.  
  33.         Linus
  34.