mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
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
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue