33c33
< __FBSDID("$FreeBSD: head/sys/kern/sys_process.c 253939 2013-08-04 21:07:24Z attilio $");
---
> __FBSDID("$FreeBSD: head/sys/kern/sys_process.c 253953 2013-08-05 08:55:35Z attilio $");
266d265
< fault_flags |= VM_FAULT_IOBUSY;
291c290
< * Fault and busy the page on behalf of the process.
---
> * Fault and hold the page on behalf of the process.
293c292
< error = vm_fault_handle(map, pageno, reqprot, fault_flags, &m);
---
> error = vm_fault_hold(map, pageno, reqprot, fault_flags, &m);
319,321c318,320
< VM_OBJECT_WLOCK(m->object);
< vm_page_io_finish(m);
< VM_OBJECT_WUNLOCK(m->object);
---
> vm_page_lock(m);
> vm_page_unhold(m);
> vm_page_unlock(m);
< __FBSDID("$FreeBSD: head/sys/kern/sys_process.c 253939 2013-08-04 21:07:24Z attilio $");
---
> __FBSDID("$FreeBSD: head/sys/kern/sys_process.c 253953 2013-08-05 08:55:35Z attilio $");
266d265
< fault_flags |= VM_FAULT_IOBUSY;
291c290
< * Fault and busy the page on behalf of the process.
---
> * Fault and hold the page on behalf of the process.
293c292
< error = vm_fault_handle(map, pageno, reqprot, fault_flags, &m);
---
> error = vm_fault_hold(map, pageno, reqprot, fault_flags, &m);
319,321c318,320
< VM_OBJECT_WLOCK(m->object);
< vm_page_io_finish(m);
< VM_OBJECT_WUNLOCK(m->object);
---
> vm_page_lock(m);
> vm_page_unhold(m);
> vm_page_unlock(m);