Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Aug 2003 17:08:42 -0700 (PDT)
From:      Marcel Moolenaar <marcel@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 36233 for review
Message-ID:  <200308160008.h7G08gEk007470@repoman.freebsd.org>

index | next in thread | raw e-mail

http://perforce.freebsd.org/chv.cgi?CH=36233

Change 36233 by marcel@marcel_nfs on 2003/08/15 17:08:06

	Revert debugging code. We never hit the condition when it
	was expected and interferes with other fixes that cause us
	to hit this condition by mistake. When the condition hits
	we also trigger a LOR, so it's really getting in the way.

Affected files ...

.. //depot/projects/ia64/sys/ia64/ia64/machdep.c#90 edit

Differences ...

==== //depot/projects/ia64/sys/ia64/ia64/machdep.c#90 (text+ko) ====

@@ -878,26 +878,11 @@
 	int oonstack;
 
 	td = curthread;
-	tf = td->td_frame;
-
-	/*
-	 * Bail out if we're sending a signal due to a fault in the gateway
-	 * page. If that happens, we were trying to send a signal but the
-	 * backing store address was invalid. Trying to send a signal in that
-	 * case will not work.
-	 * Note that the test for region 5 is a bit sloppy, but does not
-	 * give false positives.
-	 */
-	if ((tf->tf_special.iip >> 61) == 5) {
-		printf("XXX: Fault in gateway page. Cannot send signal.\n");
-		sigexit(td, SIGSEGV);
-		return;
-	}
-
 	p = td->td_proc;
 	PROC_LOCK_ASSERT(p, MA_OWNED);
 	psp = p->p_sigacts;
 	mtx_assert(&psp->ps_mtx, MA_OWNED);
+	tf = td->td_frame;
 	sp = tf->tf_special.sp;
 	oonstack = sigonstack(sp);
 	sbs = 0;


home | help

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