vm_pager_put_pages() takes VM_PAGER_* flags, not OBJPC_* flags. It just
so happens that OBJPC_SYNC has the same value as VM_PAGER_PUT_SYNC so no harm done. But fix it :-) No operational changes. MFC after: 1 day
This commit is contained in:
parent
472c3b6f4f
commit
40bb4f4bcf
@ -392,7 +392,7 @@ vm_pageout_flush(mc, count, flags)
|
||||
vm_object_pip_add(object, count);
|
||||
|
||||
vm_pager_put_pages(object, mc, count,
|
||||
(flags | ((object == kernel_object) ? OBJPC_SYNC : 0)),
|
||||
(flags | ((object == kernel_object) ? VM_PAGER_PUT_SYNC : 0)),
|
||||
pageout_status);
|
||||
|
||||
vm_page_lock_queues();
|
||||
|
Loading…
Reference in New Issue
Block a user