pmap_remove_pages() must not remove wired mappings. Since

pmap_remove_pages() is an optimization, its implementation is optional.

Discussed with:	grehan
This commit is contained in:
Alan Cox 2004-07-12 04:40:26 +00:00
parent f011f4041a
commit eba90ac75f
3 changed files with 0 additions and 12 deletions

View File

@ -1585,10 +1585,6 @@ pmap_remove_all(vm_page_t m)
void
pmap_remove_pages(pmap_t pm, vm_offset_t sva, vm_offset_t eva)
{
KASSERT(pm == &curproc->p_vmspace->vm_pmap || pm == kernel_pmap,
("pmap_remove_pages: non current pmap"));
pmap_remove(pm, sva, eva);
}
/*

View File

@ -1585,10 +1585,6 @@ pmap_remove_all(vm_page_t m)
void
pmap_remove_pages(pmap_t pm, vm_offset_t sva, vm_offset_t eva)
{
KASSERT(pm == &curproc->p_vmspace->vm_pmap || pm == kernel_pmap,
("pmap_remove_pages: non current pmap"));
pmap_remove(pm, sva, eva);
}
/*

View File

@ -1585,10 +1585,6 @@ pmap_remove_all(vm_page_t m)
void
pmap_remove_pages(pmap_t pm, vm_offset_t sva, vm_offset_t eva)
{
KASSERT(pm == &curproc->p_vmspace->vm_pmap || pm == kernel_pmap,
("pmap_remove_pages: non current pmap"));
pmap_remove(pm, sva, eva);
}
/*