From owner-cvs-sys Sat Dec 14 09:54:23 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id JAA20993 for cvs-sys-outgoing; Sat, 14 Dec 1996 09:54:23 -0800 (PST) Received: (from dyson@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id JAA20986; Sat, 14 Dec 1996 09:54:21 -0800 (PST) Date: Sat, 14 Dec 1996 09:54:21 -0800 (PST) From: John Dyson Message-Id: <199612141754.JAA20986@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/vm vm_extern.h vm_fault.c vm_map.c vm_map.h vm_mmap.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk dyson 96/12/14 09:54:21 Modified: sys/vm vm_extern.h vm_fault.c vm_map.c vm_map.h vm_mmap.c Log: Implement closer-to POSIX mlock semantics. The major difference is that we do allow mlock to span unallocated regions (of course, not mlocking them.) We also allow mlocking of RO regions (which the old code couldn't.) The restriction there is that once a RO region is wired (mlocked), it cannot be debugged (or EVER written to.) Under normal usage, the new mlock code will be a significant improvement over our old stuff. Revision Changes Path 1.28 +2 -1 src/sys/vm/vm_extern.h 1.59 +69 -2 src/sys/vm/vm_fault.c 1.62 +132 -1 src/sys/vm/vm_map.c 1.18 +11 -2 src/sys/vm/vm_map.h 1.54 +3 -3 src/sys/vm/vm_mmap.c