PERFORCE change 89233 for review

John Baldwin jhb at FreeBSD.org
Thu Jan 5 13:16:45 PST 2006


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

Change 89233 by jhb at 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) {


More information about the p4-projects mailing list