Changeset View
Changeset View
Standalone View
Standalone View
sys/kern/sys_process.c
Show First 20 Lines • Show All 301 Lines • ▼ Show 20 Lines | if (writing && error == 0) { | ||||
vm_sync_icache(map, uva, len); | vm_sync_icache(map, uva, len); | ||||
vm_map_unlock_read(map); | vm_map_unlock_read(map); | ||||
} | } | ||||
/* | /* | ||||
* Release the page. | * Release the page. | ||||
*/ | */ | ||||
vm_page_lock(m); | vm_page_lock(m); | ||||
if (vm_page_unwire(m, PQ_ACTIVE) && m->object == NULL) | vm_page_unwire(m, PQ_ACTIVE); | ||||
vm_page_free(m); | |||||
vm_page_unlock(m); | vm_page_unlock(m); | ||||
} while (error == 0 && uio->uio_resid > 0); | } while (error == 0 && uio->uio_resid > 0); | ||||
return (error); | return (error); | ||||
} | } | ||||
static ssize_t | static ssize_t | ||||
▲ Show 20 Lines • Show All 1,179 Lines • Show Last 20 Lines |