cvs commit: src/sys/alpha/alpha vm_machdep.c src/sys/amd64/amd64
vm_machdep.c src/sys/i386/i386 vm_machdep.c src/sys/ia64/ia64
vm_machdep.c src/sys/kern uipc_cow.c uipc_syscalls.c
src/sys/powerpc/powerpc vm_machdep.c src/sys/sparc64/sparc64 ...
Alan Cox
alc at FreeBSD.org
Tue Mar 16 11:04:29 PST 2004
alc 2004/03/16 11:04:28 PST
FreeBSD src repository
Modified files:
sys/alpha/alpha vm_machdep.c
sys/amd64/amd64 vm_machdep.c
sys/i386/i386 vm_machdep.c
sys/ia64/ia64 vm_machdep.c
sys/kern uipc_cow.c uipc_syscalls.c
sys/powerpc/powerpc vm_machdep.c
sys/sparc64/sparc64 vm_machdep.c
sys/sys sf_buf.h
Log:
Refactor the existing machine-dependent sf_buf_free() into a machine-
dependent function by the same name and a machine-independent function,
sf_buf_mext(). Aside from the virtue of making more of the code machine-
independent, this change also makes the interface more logical. Before,
sf_buf_free() did more than simply undo an sf_buf_alloc(); it also
unwired and if necessary freed the page. That is now the purpose of
sf_buf_mext(). Thus, sf_buf_alloc() and sf_buf_free() can now be used
as a general-purpose emphemeral map cache.
Revision Changes Path
1.100 +2 -17 src/sys/alpha/alpha/vm_machdep.c
1.229 +2 -17 src/sys/amd64/amd64/vm_machdep.c
1.232 +6 -18 src/sys/i386/i386/vm_machdep.c
1.80 +2 -17 src/sys/ia64/ia64/vm_machdep.c
1.18 +1 -1 src/sys/kern/uipc_cow.c
1.175 +24 -2 src/sys/kern/uipc_syscalls.c
1.98 +3 -18 src/sys/powerpc/powerpc/vm_machdep.c
1.59 +3 -18 src/sys/sparc64/sparc64/vm_machdep.c
1.3 +2 -1 src/sys/sys/sf_buf.h
More information about the cvs-src
mailing list