From owner-cvs-src@FreeBSD.ORG Mon Aug 11 00:14:09 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2DF7337B401; Mon, 11 Aug 2003 00:14:09 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9949143F85; Mon, 11 Aug 2003 00:14:08 -0700 (PDT) (envelope-from bms@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id h7B7E80U006386; Mon, 11 Aug 2003 00:14:08 -0700 (PDT) (envelope-from bms@repoman.freebsd.org) Received: (from bms@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h7B7E8eQ006385; Mon, 11 Aug 2003 00:14:08 -0700 (PDT) Message-Id: <200308110714.h7B7E8eQ006385@repoman.freebsd.org> From: Bruce M Simpson Date: Mon, 11 Aug 2003 00:14:08 -0700 (PDT) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: 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 ... X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Aug 2003 07:14:09 -0000 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