From owner-cvs-src-old@FreeBSD.ORG Tue May 5 09:17:05 2009 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CE6481065741 for ; Tue, 5 May 2009 09:17:05 +0000 (UTC) (envelope-from kib@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id C0BA58FC1A for ; Tue, 5 May 2009 09:17:03 +0000 (UTC) (envelope-from kib@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id n459H3iK023601 for ; Tue, 5 May 2009 09:17:03 GMT (envelope-from kib@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id n459H3xm023600 for cvs-src-old@freebsd.org; Tue, 5 May 2009 09:17:03 GMT (envelope-from kib@repoman.freebsd.org) Message-Id: <200905050917.n459H3xm023600@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to kib@repoman.freebsd.org using -f From: Konstantin Belousov Date: Tue, 5 May 2009 09:16:57 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: RELENG_7 Subject: cvs commit: src/sys/vm vm_map.c vm_map.h X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 May 2009 09:17:06 -0000 kib 2009-05-05 09:16:57 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/vm vm_map.c vm_map.h Log: SVN rev 191810 on 2009-05-05 09:16:57Z by kib MFC r190886: When vm_map_wire(9) is allowed to skip holes in the wired region, skip the mappings without any of read and execution rights, in particular, the PROT_NONE entries. This makes mlockall(2) work for the process address space that has such mappings. Since protection mode of the entry may change between setting MAP_ENTRY_IN_TRANSITION and final pass over the region that records the wire status of the entries, allocate new map entry flag MAP_ENTRY_WIRE_SKIPPED to mark the skipped PROT_NONE entries. Revision Changes Path 1.388.2.7 +15 -1 src/sys/vm/vm_map.c 1.120.2.2 +2 -0 src/sys/vm/vm_map.h