mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-18 10:35:55 +00:00
The runlen returned from vm_pageout_flush() might be zero legitimately,
when mreq page has status VM_PAGER_AGAIN. MFC after: 5 days
This commit is contained in:
parent
9fe175f914
commit
4c7b9a2063
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=215574
@ -820,7 +820,6 @@ vm_object_page_clean(vm_object_t object, vm_pindex_t start, vm_pindex_t end,
|
||||
continue;
|
||||
|
||||
n = vm_object_page_collect_flush(object, p, pagerflags);
|
||||
KASSERT(n > 0, ("vm_object_page_collect_flush failed"));
|
||||
if (object->generation != curgeneration)
|
||||
goto rescan;
|
||||
np = vm_page_find_least(object, pi + n);
|
||||
|
Loading…
Reference in New Issue
Block a user