PERFORCE change 116371 for review
Oleksandr Tymoshenko
gonzo at FreeBSD.org
Thu Mar 22 22:28:42 UTC 2007
http://perforce.freebsd.org/chv.cgi?CH=116371
Change 116371 by gonzo at gonzo_jeeves on 2007/03/22 22:27:56
o Handle a case of unallocated segmap in pmap_protect.
Affected files ...
.. //depot/projects/mips2/src/sys/mips/mips/pmap.c#23 edit
Differences ...
==== //depot/projects/mips2/src/sys/mips/mips/pmap.c#23 (text+ko) ====
@@ -1140,7 +1140,7 @@
* If pte is invalid, skip this page
*/
pte = pmap_pte(pmap, sva);
- if (!pte_valid(pte)) {
+ if ((pte == NULL) || !pte_valid(pte)) {
sva += PAGE_SIZE;
continue;
}
More information about the p4-projects
mailing list