mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-27 04:53:28 +00:00
Print slightly more useful information on the 'bad pte' panic.
No objections from: alc MFC after: 1 week
This commit is contained in:
parent
252b1f6e22
commit
bf94adb3e1
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=246802
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user