Remove unneeded calls to pmap_remove_all(). The given page is not mapped.
Reviewed by: tegge
This commit is contained in:
parent
2694019753
commit
05406e6f33
@ -838,7 +838,6 @@ exec_map_first_page(imgp)
|
||||
(ma[0]->valid == 0)) {
|
||||
if (ma[0]) {
|
||||
vm_page_lock_queues();
|
||||
pmap_remove_all(ma[0]);
|
||||
vm_page_free(ma[0]);
|
||||
vm_page_unlock_queues();
|
||||
}
|
||||
|
@ -745,7 +745,6 @@ RetryFault:;
|
||||
/*
|
||||
* get rid of the unnecessary page
|
||||
*/
|
||||
pmap_remove_all(fs.first_m);
|
||||
vm_page_free(fs.first_m);
|
||||
/*
|
||||
* grab the page and put it into the
|
||||
|
Loading…
Reference in New Issue
Block a user