The Unix Heritage Society mailing list
 help / color / mirror / Atom feed
From: helbig@Informatik.BA-Stuttgart.DE (Wolfgang Helbig)
Subject: [TUHS] Re: Patches to improve 6th Edition
Date: Sat, 28 Dec 2002 21:38:31 +0100 (MET)	[thread overview]
Message-ID: <200212282241.gBSMfk500190@bsd.korb> (raw)

some hours ago I wrote:
>I ask this, because my system crashes ones in a while. But I changed it
>here and there, so it might be my fault.

It *was* my fault! So far, I have only found one bug in V6: The size
of swapmap and coremap are configured too small, so they might overflow.

The sizes don't take account of shared text segments, that produce
extra chunks of free memory. In V6 there are 19 pure executables, so their
minimal size should be (NPROC+19)*2, or better yet (NPROC+NTEXT)*2, where
NTEXT should be set to 20 instead of 40 as distributed in param.h .

I don't think this bug ever showed up. It is very unlikely. In V7 these
sizes are choosen to be even smaller than NPROC and even with its many pure 
executables, I don't think V7 ever crashed because of this bug.

So, with the only exception reported by Brian S. Walden, there seem to be
no bugs in V6 that crash systems.

Greetings

Wolfgang




             reply	other threads:[~2002-12-28 20:38 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-12-28 20:38 Wolfgang Helbig [this message]
  -- strict thread matches above, loose matches on Subject: below --
2003-01-08 13:42 Norman Wilson
2002-12-28  8:33 Wolfgang Helbig
2002-12-28  7:07 Mike Haertel
2002-12-28  5:19 Brian S Walden
2002-12-28  2:58 John Holden
2002-12-27 20:58 [TUHS] V6: 50 bugs tape Mirian Crzig Lennox
2002-12-27 21:55 ` [TUHS] Re: Patches to improve 6th Edition Warren Toomey
2002-12-28  2:43   ` Greg Haerr

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=200212282241.gBSMfk500190@bsd.korb \
    --to=helbig@informatik.ba-stuttgart.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;
as well as URLs for NNTP newsgroup(s).