svn commit: r246802 - head/sys/amd64/amd64
Konstantin Belousov
kib at FreeBSD.org
Thu Feb 14 19:22:16 UTC 2013
Author: kib
Date: Thu Feb 14 19:22:15 2013
New Revision: 246802
URL: http://svnweb.freebsd.org/changeset/base/246802
Log:
Print slightly more useful information on the 'bad pte' panic.
No objections from: alc
MFC after: 1 week
Modified:
head/sys/amd64/amd64/pmap.c
Modified: head/sys/amd64/amd64/pmap.c
==============================================================================
--- head/sys/amd64/amd64/pmap.c Thu Feb 14 19:21:20 2013 (r246801)
+++ head/sys/amd64/amd64/pmap.c Thu Feb 14 19:22:15 2013 (r246802)
@@ -4446,8 +4446,10 @@ pmap_remove_pages(pmap_t pmap)
pte = &pte[pmap_pte_index(pv->pv_va)];
tpte = *pte & ~PG_PTE_PAT;
}
- if ((tpte & PG_V) == 0)
- panic("bad pte");
+ if ((tpte & PG_V) == 0) {
+ panic("bad pte va %lx pte %lx",
+ pv->pv_va, tpte);
+ }
/*
* We cannot remove wired pages from a process' mapping at this time
More information about the svn-src-all
mailing list