o Simplify the ptphint test in pmap_release_free_page(). In other words,
make it just like the test in _pmap_unwire_pte_hold().
This commit is contained in:
parent
8b53c815ec
commit
fe04760439
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=102041
@ -1293,7 +1293,7 @@ pmap_release_free_page(pmap_t pmap, vm_page_t p)
|
||||
pmap_kremove((vm_offset_t) pmap->pm_pdir);
|
||||
}
|
||||
|
||||
if (pmap->pm_ptphint && (pmap->pm_ptphint->pindex == p->pindex))
|
||||
if (pmap->pm_ptphint == p)
|
||||
pmap->pm_ptphint = NULL;
|
||||
|
||||
p->wire_count--;
|
||||
|
@ -1293,7 +1293,7 @@ pmap_release_free_page(pmap_t pmap, vm_page_t p)
|
||||
pmap_kremove((vm_offset_t) pmap->pm_pdir);
|
||||
}
|
||||
|
||||
if (pmap->pm_ptphint && (pmap->pm_ptphint->pindex == p->pindex))
|
||||
if (pmap->pm_ptphint == p)
|
||||
pmap->pm_ptphint = NULL;
|
||||
|
||||
p->wire_count--;
|
||||
|
Loading…
Reference in New Issue
Block a user