cvs commit: src/lib/libc/alpha/sys Makefile.incsrc/lib/libc/amd64/sys
Makefile.inc src/lib/libc/i386/sys Makefile.inc
src/lib/libc/ia64/sys Makefile.inc src/lib/libc/powerpc/sys
Makefile.inc src/lib/libc/sparc64/sys Makefile.inc ...
Bruce M Simpson
bms at FreeBSD.org
Mon Aug 11 00:14:09 PDT 2003
bms 2003/08/11 00:14:08 PDT
FreeBSD src repository
Modified files:
lib/libc/alpha/sys Makefile.inc
lib/libc/amd64/sys Makefile.inc
lib/libc/i386/sys Makefile.inc
lib/libc/ia64/sys Makefile.inc
lib/libc/powerpc/sys Makefile.inc
lib/libc/sparc64/sys Makefile.inc
lib/libc/sys Makefile.inc
sys/kern link_elf.c
sys/sys mman.h
sys/vm vm_contig.c vm_glue.c vm_kern.c vm_map.c
vm_map.h vm_mmap.c vm_unix.c
Log:
Add the mlockall() and munlockall() system calls.
- All those diffs to syscalls.master for each architecture *are*
necessary. This needed clarification; the stub code generation for
mlockall() was disabled, which would prevent applications from
linking to this API (suggested by mux)
- Giant has been quoshed. It is no longer held by the code, as
the required locking has been pushed down within vm_map.c.
- Callers must specify VM_MAP_WIRE_HOLESOK or VM_MAP_WIRE_NOHOLES
to express their intention explicitly.
- Inspected at the vmstat, top and vm pager sysctl stats level.
Paging-in activity is occurring correctly, using a test harness.
- The RES size for a process may appear to be greater than its SIZE.
This is believed to be due to mappings of the same shared library
page being wired twice. Further exploration is needed.
- Believed to back out of allocations and locks correctly
(tested with WITNESS, MUTEX_PROFILING, INVARIANTS and DIAGNOSTIC).
PR: kern/43426, standards/54223
Reviewed by: jake, alc
Approved by: jake (mentor)
MFC after: 2 weeks
Revision Changes Path
1.12 +1 -1 src/lib/libc/alpha/sys/Makefile.inc
1.27 +1 -1 src/lib/libc/amd64/sys/Makefile.inc
1.26 +1 -1 src/lib/libc/i386/sys/Makefile.inc
1.8 +1 -1 src/lib/libc/ia64/sys/Makefile.inc
1.2 +1 -1 src/lib/libc/powerpc/sys/Makefile.inc
1.9 +1 -1 src/lib/libc/sparc64/sys/Makefile.inc
1.105 +3 -2 src/lib/libc/sys/Makefile.inc
1.76 +1 -1 src/sys/kern/link_elf.c
1.37 +2 -0 src/sys/sys/mman.h
1.24 +2 -1 src/sys/vm/vm_contig.c
1.182 +4 -2 src/sys/vm/vm_glue.c
1.104 +2 -1 src/sys/vm/vm_kern.c
1.305 +39 -12 src/sys/vm/vm_map.c
1.100 +24 -2 src/sys/vm/vm_map.h
1.164 +75 -9 src/sys/vm/vm_mmap.c
1.43 +21 -0 src/sys/vm/vm_unix.c
More information about the cvs-src
mailing list