cvs commit: src/sys/vm vm_kern.c vm_map.c vm_map.h

Brian Feldman green at FreeBSD.org
Mon Aug 9 12:52:30 PDT 2004


green       2004-08-09 19:52:29 UTC

  FreeBSD src repository

  Modified files:
    sys/vm               vm_kern.c vm_map.c vm_map.h 
  Log:
  Revamp VM map wiring.
  
  * Allow no-fault wiring/unwiring to succeed for consistency;
    however, the wired count remains at zero, so it's a special case.
  
  * Fix issues inside vm_map_wire() and vm_map_unwire() where the
    exact state of user wiring (one or zero) and system wiring
    (zero or more) could be confused; for example, system unwiring
    could succeed in removing a user wire, instead of being an
    error.
  
  * Require all mappings to be unwired before they are deleted.
    When VM space is still wired upon deletion, it will be waited
    upon for the following unwire.  This makes vslock(9) work
    rather than allowing kernel-locked memory to be deleted
    out from underneath of its consumer as it would before.
  
  Revision  Changes    Path
  1.119     +4 -0      src/sys/vm/vm_kern.c
  1.353     +32 -14    src/sys/vm/vm_map.c
  1.114     +14 -0     src/sys/vm/vm_map.h


More information about the cvs-src mailing list