Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Aug 2004 19:52:29 +0000 (UTC)
From:      Brian Feldman <green@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/vm vm_kern.c vm_map.c vm_map.h
Message-ID:  <200408091952.i79JqT4B076245@repoman.freebsd.org>

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



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