o Remove a vm_page_deactivate() that is immediately followed by a
vm_page_rename() from vm_object_backing_scan(). vm_page_rename() also performs vm_page_deactivate() on pages in the cache queues, making the removed vm_page_deactivate() redundant.
This commit is contained in:
parent
3428bc649e
commit
08c7935a56
@ -1465,9 +1465,6 @@ vm_object_backing_scan(vm_object_t object, int op)
|
||||
* If the page was mapped to a process, it can remain
|
||||
* mapped through the rename.
|
||||
*/
|
||||
if ((p->queue - p->pc) == PQ_CACHE)
|
||||
vm_page_deactivate(p);
|
||||
|
||||
vm_page_rename(p, object, new_pindex);
|
||||
/* page automatically made dirty by rename */
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user