Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 3 Aug 2001 00:45:55 +1000 (EST)
From:      Bruce Evans <bde@zeta.org.au>
To:        Peter Wemm <peter@FreeBSD.org>
Cc:        <cvs-committers@FreeBSD.org>, <cvs-all@FreeBSD.org>
Subject:   Re: cvs commit: src/sys/kern kern_exit.c kern_sig.c
Message-ID:  <20010803002014.L630-100000@besplex.bde.org>
In-Reply-To: <200108012035.f71KZOs38613@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010803002014.L630-100000>