Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Aug 2006 22:12:24 GMT
From:      John Birrell <jb@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 103203 for review
Message-ID:  <200608042212.k74MCOd4058833@repoman.freebsd.org>

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

Change 103203 by jb@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);
 }
 



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