Return to BSD News archive
Path: sserve!newshost.anu.edu.au!munnari.oz.au!ariel.ucs.unimelb.EDU.AU!werple.apana.org.au!news From: andrew@werple.apana.org.au (Andrew Herbert) Newsgroups: comp.os.386bsd.bugs Subject: Re: kmem_map overflow with 0.2.2 kernel (a fix) Date: 29 Mar 1993 20:33:12 +1000 Organization: werple public-access unix, Melbourne Lines: 10 Message-ID: <1p6j98$ssa@werple.apana.org.au> References: <C4Kw3q.C6M@sugar.neosoft.com> <f0#VeOr@quack.kfu.com> <CGD.93Mar28094535@erewhon.CS.Berkeley.EDU> <1p5lup$osq@werple.apana.org.au> NNTP-Posting-Host: werple.apana.org.au A minor fix to the patch I posted this morning - my thanks to cgd for pointing it out. My mods changed the "if (canwait) {" to "if (!canwait) {". The original code was in fact correct. :) In practice though, the kernel will most probably panic fairly soon after either version of this statement is executed. For the moment, the key is to avoid running out of memory in the first place. Andrew