ttm: "to_page->valid = VM_PAGE_BITS_ALL" before vm_page_dirty(to_page)
Approved by; kib@
This commit is contained in:
parent
fbe1da288c
commit
39db4184ec
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=254875
@ -353,8 +353,8 @@ int ttm_tt_swapout(struct ttm_tt *ttm, vm_object_t persistent_swap_storage)
|
||||
continue;
|
||||
to_page = vm_page_grab(obj, i, VM_ALLOC_NORMAL);
|
||||
pmap_copy_page(from_page, to_page);
|
||||
vm_page_dirty(to_page);
|
||||
to_page->valid = VM_PAGE_BITS_ALL;
|
||||
vm_page_dirty(to_page);
|
||||
vm_page_xunbusy(to_page);
|
||||
}
|
||||
vm_object_pip_wakeup(obj);
|
||||
|
Loading…
Reference in New Issue
Block a user