diff --git a/share/man/man9/VOP_GETPAGES.9 b/share/man/man9/VOP_GETPAGES.9 index ab0afe8..7b24fa23 100644 --- a/share/man/man9/VOP_GETPAGES.9 +++ b/share/man/man9/VOP_GETPAGES.9 @@ -70,7 +70,7 @@ The file to access. Pointer to the first element of an array of contiguous pages representing a contiguous region of the file to be read or written. .It Fa count -The number of pages in the array. +The number of bytes requested to be read into the pages in the array. .It Fa sync .Dv VM_PAGER_PUT_SYNC if the write should be synchronous. @@ -128,9 +128,10 @@ that it does not successfully handle, by calling .Xr vm_page_free 9 . When it succeeds, .Fn VOP_GETPAGES -must set the valid bits appropriately, clear the dirty bit -(using -.Xr vm_page_undirty 9 ) , +must set the valid bits appropriately. +For non- +.Fa reqpage +pages it should either activate the page (if its wanted bit is set) or deactivate it (otherwise), and finally call .Xr vm_page_wakeup 9