PERFORCE change 103203 for review

John Birrell jb at FreeBSD.org
Fri Aug 4 22:12:25 UTC 2006


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

Change 103203 by jb at jb_freebsd2 on 2006/08/04 22:12:21

	Fix an integration error which happened when bike_sched was integrated
	in sun4v_stable, but then was integrated into the dtrace tree. Oops.

Affected files ...

.. //depot/projects/dtrace/src/sys/vm/vm_pageq.c#5 edit

Differences ...

==== //depot/projects/dtrace/src/sys/vm/vm_pageq.c#5 (text+ko) ====

@@ -199,7 +199,6 @@
 	m->flags = 0;
 	m->pc = (pa >> PAGE_SHIFT) & PQ_COLORMASK;
 	pmap_page_init(m);
-	mtx_lock_spin(&vm_page_queue_free_mtx);
 	if (!smp_started) {
 		vm_pageq_enqueue(m->pc + PQ_FREE, m);
 	} else {
@@ -207,7 +206,6 @@
 		vm_pageq_enqueue(m->pc + PQ_FREE, m);
 		mtx_unlock_spin(&vm_page_queue_free_mtx);
 	}
-	mtx_unlock_spin(&vm_page_queue_free_mtx);
 	return (m);
 }
 


More information about the p4-projects mailing list