Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Apr 2009 10:16:03 +0000 (UTC)
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/sys/vm vm_map.c vm_map.h
Message-ID:  <200904101016.n3AAGKda008642@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 <fbsdhackers beasties demon nl>
  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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200904101016.n3AAGKda008642>