From owner-cvs-all Thu Aug 2 7:48:35 2001 Delivered-To: cvs-all@freebsd.org Received: from mailman.zeta.org.au (mailman.zeta.org.au [203.26.10.16]) by hub.freebsd.org (Postfix) with ESMTP id 5C3A037B406; Thu, 2 Aug 2001 07:48:31 -0700 (PDT) (envelope-from bde@zeta.org.au) Received: from bde.zeta.org.au (bde.zeta.org.au [203.2.228.102]) by mailman.zeta.org.au (8.9.3/8.8.7) with ESMTP id AAA24976; Fri, 3 Aug 2001 00:48:28 +1000 Date: Fri, 3 Aug 2001 00:45:55 +1000 (EST) From: Bruce Evans X-X-Sender: To: Peter Wemm Cc: , Subject: Re: cvs commit: src/sys/kern kern_exit.c kern_sig.c In-Reply-To: <200108012035.f71KZOs38613@freefall.freebsd.org> Message-ID: <20010803002014.L630-100000@besplex.bde.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Wed, 1 Aug 2001, Peter Wemm wrote: > peter 2001/08/01 13:35:24 PDT > > Modified files: > sys/kern kern_exit.c kern_sig.c > Log: > Temporarily back out kern_sig.c rev 1.125 and kern_exit.c rev 1.131. > This paniced my one of my machines one time too many :-( and there is > no sign of a solution in the pipeline. The deltas are still easily > available in cvs. The problem is that if the parent has been swapped > out, the child process cannot grope around in the parent's UPAGES to > see the sigact[] array or it will fault. This probably is a showstopper > for this implementation anyway. Doesn't it just need to call PHOLD() to hold the UPAGES in memory while it looks at them? (PHOLD() also faults them in if necessary.) "options NO_SWAPPING" is a simple workaround. Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message