From mboxrd@z Thu Jan 1 00:00:00 1970 From: helbig@Informatik.BA-Stuttgart.DE (Wolfgang Helbig) Date: Sat, 28 Dec 2002 21:38:31 +0100 (MET) Subject: [TUHS] Re: Patches to improve 6th Edition Message-ID: <200212282241.gBSMfk500190@bsd.korb> 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