diff options
author | Scott Long <scottl@FreeBSD.org> | 2013-07-30 23:50:09 +0000 |
---|---|---|
committer | Scott Long <scottl@FreeBSD.org> | 2013-07-30 23:50:09 +0000 |
commit | de925dd31fc9666b3abbb360c7ec11185ecdaf2b (patch) | |
tree | fe1a378d7cd2ce367e98aedc503ed010291fd17b /sys/kern/subr_uio.c | |
parent | fc4a5f052b34693f5314253273e7f4671ec42134 (diff) | |
download | src-de925dd31fc9666b3abbb360c7ec11185ecdaf2b.tar.gz src-de925dd31fc9666b3abbb360c7ec11185ecdaf2b.zip |
Fix r253823. Some WIP patches snuck in.
Submitted by: zont
Notes
Notes:
svn path=/head/; revision=253824
Diffstat (limited to 'sys/kern/subr_uio.c')
-rw-r--r-- | sys/kern/subr_uio.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/sys/kern/subr_uio.c b/sys/kern/subr_uio.c index efa483f9df94..1ee265c7dde9 100644 --- a/sys/kern/subr_uio.c +++ b/sys/kern/subr_uio.c @@ -56,7 +56,6 @@ __FBSDID("$FreeBSD$"); #include <vm/vm_param.h> #include <vm/vm_extern.h> #include <vm/vm_page.h> -#include <vm/vm_pageout.h> #include <vm/vm_map.h> #ifdef SOCKET_SEND_COW #include <vm/vm_object.h> @@ -123,12 +122,7 @@ retry: if (uobject->backing_object != NULL) pmap_remove(map->pmap, uaddr, uaddr + PAGE_SIZE); } - if (vm_page_insert(kern_pg, uobject, upindex)) { - VM_OBJECT_WUNLOCK(uobject); - VM_WAIT; - VM_OBJECT_WLOCK(uobject); - goto retry; - } + vm_page_insert(kern_pg, uobject, upindex); vm_page_dirty(kern_pg); VM_OBJECT_WUNLOCK(uobject); vm_map_lookup_done(map, entry); |