cvs commit: src/sys/kern uipc_cow.c uipc_syscalls.c src/sys/sys
socketvar.h
Alan Cox
alc at FreeBSD.org
Fri Mar 28 22:14:18 PST 2003
alc 2003/03/28 22:14:15 PST
FreeBSD src repository
Modified files:
sys/kern uipc_cow.c uipc_syscalls.c
sys/sys socketvar.h
Log:
Pass the vm_page's address to sf_buf_alloc(); map the vm_page as part
of sf_buf_alloc() instead of expecting sf_buf_alloc()'s caller to map it.
The ultimate reason for this change is to enable two optimizations:
(1) that there never be more than one sf_buf mapping a vm_page at a time
and (2) 64-bit architectures can transparently use their 1-1 virtual
to physical mapping (e.g., "K0SEG") avoiding the overhead of pmap_qenter()
and pmap_qremove().
Revision Changes Path
1.12 +1 -3 src/sys/kern/uipc_cow.c
1.144 +6 -9 src/sys/kern/uipc_syscalls.c
1.103 +1 -1 src/sys/sys/socketvar.h
More information about the cvs-src
mailing list