From owner-cvs-src-old@FreeBSD.ORG Fri Apr 10 10:16:20 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 8BB0310656C7 for ; Fri, 10 Apr 2009 10:16:20 +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 791D48FC18 for ; Fri, 10 Apr 2009 10:16:20 +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 n3AAGKGu008643 for ; Fri, 10 Apr 2009 10:16:20 GMT (envelope-from kib@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id n3AAGKda008642 for cvs-src-old@freebsd.org; Fri, 10 Apr 2009 10:16:20 GMT (envelope-from kib@repoman.freebsd.org) Message-Id: <200904101016.n3AAGKda008642@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to kib@repoman.freebsd.org using -f From: Konstantin Belousov Date: Fri, 10 Apr 2009 10:16:03 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD 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: Fri, 10 Apr 2009 10:16:21 -0000 kib 2009-04-10 10:16:03 UTC FreeBSD src repository Modified files: sys/vm vm_map.c vm_map.h Log: SVN rev 190886 on 2009-04-10 10:16:03Z by kib 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. Reported and tested by: Hans Ottevanger Reviewed by: alc MFC after: 3 weeks Revision Changes Path 1.412 +15 -1 src/sys/vm/vm_map.c 1.129 +2 -0 src/sys/vm/vm_map.h