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_syscalls.c src/sys/powerpc/powerpc
vm_machdep.c src/sys/sparc64/sparc64 vm_machdep.c
Alan Cox
alc at FreeBSD.org
Fri Aug 29 13:04:11 PDT 2003
alc 2003/08/29 13:04:10 PDT
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_syscalls.c
sys/powerpc/powerpc vm_machdep.c
sys/sparc64/sparc64 vm_machdep.c
Log:
Migrate the sf_buf allocator that is used by sendfile(2) and zero-copy
sockets into machine-dependent files. The rationale for this
migration is illustrated by the modified amd64 allocator. It uses the
amd64's direct map to avoid emphemeral mappings in the kernel's
address space. On an SMP, the emphemeral mappings result in an IPI
for TLB shootdown for each transmitted page. Yuck.
Maintainers of other 64-bit platforms with direct maps should be able
to use the amd64 allocator as a reference implementation.
Revision Changes Path
1.94 +101 -0 src/sys/alpha/alpha/vm_machdep.c
1.217 +95 -0 src/sys/amd64/amd64/vm_machdep.c
1.215 +101 -0 src/sys/i386/i386/vm_machdep.c
1.70 +101 -0 src/sys/ia64/ia64/vm_machdep.c
1.156 +0 -99 src/sys/kern/uipc_syscalls.c
1.91 +101 -0 src/sys/powerpc/powerpc/vm_machdep.c
1.51 +104 -0 src/sys/sparc64/sparc64/vm_machdep.c
More information about the cvs-all
mailing list