PERFORCE change 62368 for review

Peter Wemm peter at FreeBSD.org
Tue Sep 28 19:03:20 PDT 2004


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

Change 62368 by peter at peter_daintree on 2004/09/29 02:02:32

	Match -current. remove unneeded assertions.  (amd64 pmap doesn't
	need these locks)

Affected files ...

.. //depot/projects/hammer/sys/amd64/amd64/pmap.c#110 edit

Differences ...

==== //depot/projects/hammer/sys/amd64/amd64/pmap.c#110 (text+ko) ====

@@ -1478,7 +1478,6 @@
 	pt_entry_t oldpte;
 	vm_page_t m;
 
-	mtx_assert(&vm_page_queue_mtx, MA_OWNED);
 	PMAP_LOCK_ASSERT(pmap, MA_OWNED);
 	oldpte = pte_load_clear(ptq);
 	if (oldpte & PG_W)
@@ -1520,7 +1519,6 @@
 	pd_entry_t ptepde;
 	pt_entry_t *pte;
 
-	mtx_assert(&vm_page_queue_mtx, MA_OWNED);
 	PMAP_LOCK_ASSERT(pmap, MA_OWNED);
 	pte = pmap_pte_pde(pmap, va, &ptepde);
 	if (pte == NULL || (*pte & PG_V) == 0)


More information about the p4-projects mailing list