Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Aug 2004 23:55:07 GMT
From:      Peter Wemm <peter@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 59902 for review
Message-ID:  <200408162355.i7GNt7Zn043011@repoman.freebsd.org>

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

Change 59902 by peter@peter_daintree on 2004/08/16 23:54:27

	replace a comment with a kassert

Affected files ...

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

Differences ...

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

@@ -1048,8 +1048,7 @@
 
 	if (va >= VM_MAXUSER_ADDRESS)
 		return 0;
-	if (ptepde == 0)
-		ptepde = *pmap_pde(pmap, va);
+	KASSERT(ptepde != 0, ("pmap_unuse_pt: ptepde != 0"));
 	mpte = PHYS_TO_VM_PAGE(ptepde & PG_FRAME);
 	return pmap_unwire_pte_hold(pmap, va, mpte);
 }



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