fa.openbsd.source-changes
[Top] [All Lists]

CVS: cvs.openbsd.org: src

Subject: CVS: cvs.openbsd.org: src
From: Miod Vallat
Date: Mon, 09 Jun 2008 20:31:17 UTC
Newsgroups: fa.openbsd.source-changes

CVSROOT:        /cvs
Module name:    src
Changes by:     miod@xxxxxxxxxxxxxxx    2008/06/09 14:30:25

Modified files:
        share/man/man9 : uvm.9 
        sys/uvm        : uvm.h uvm_extern.h uvm_map.c 
        usr.sbin/procmap: procmap.c 

Log message:
Define a new flag, UVM_FLAG_HOLE, for uvm_map to create a vm_map_entry of
a new etype, UVM_ET_HOLE, meaning it has no backend.

UVM_ET_HOLE entries (which should be created as UVM_PROT_NONE and with
UVM_FLAG_NOMERGE and UVM_FLAG_HOLE) are skipped in uvm_unmap_remove(), so
that pmap_{k,}remove() is not called on the entry.

This is intended to save time, and behave better, on pmaps with MMU holes
at process exit time.

ok art@, kettenis@ provided feedback as well.


<Prev in Thread] Current Thread [Next in Thread>