Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 5 Jan 2006 21:16:42 GMT
From:      John Baldwin <jhb@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 89233 for review
Message-ID:  <200601052116.k05LGgp5045699@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=89233

Change 89233 by jhb@jhb_slimer on 2006/01/05 21:16:19

	Add a note about a panic I just ran into on alpha.

Affected files ...

.. //depot/projects/smpng/sys/kern/kern_proc.c#81 edit

Differences ...

==== //depot/projects/smpng/sys/kern/kern_proc.c#81 (text+ko) ====

@@ -907,6 +907,12 @@
 		error = SYSCTL_OUT(req, (caddr_t)&kinfo_proc,
 				   sizeof(kinfo_proc));
 	} else {
+		/*
+		 * XXX: Can't call copyout() here on alpha with sched_lock
+		 * held since we can get a pmap_emulate_reference() fault
+		 * when we write to the page.  Need to ask alc@ about how
+		 * best to handle this.
+		 */
 		mtx_lock_spin(&sched_lock);
 		if (FIRST_THREAD_IN_PROC(p) != NULL)
 			FOREACH_THREAD_IN_PROC(p, td) {



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