Correct an error in the previous revision, specifically,
vm_object_madvise() should request that the reactivated, cached page not be busied. Reported by: Rink Springer Approved by: re (kensmith)
This commit is contained in:
parent
2ba799df13
commit
f3a2ed4bd9
@ -1105,7 +1105,8 @@ vm_object_madvise(vm_object_t object, vm_pindex_t pindex, int count, int advise)
|
||||
/*
|
||||
* If the page is cached, reactivate it.
|
||||
*/
|
||||
m = vm_page_alloc(tobject, tpindex, VM_ALLOC_IFCACHED);
|
||||
m = vm_page_alloc(tobject, tpindex, VM_ALLOC_IFCACHED |
|
||||
VM_ALLOC_NOBUSY);
|
||||
}
|
||||
if (m == NULL) {
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user