Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 3 Apr 1999 23:11:02 -0800 (PST)
From:      Alan Cox <alc@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/vm vm_map.c
Message-ID:  <199904040711.XAA68880@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
alc         1999/04/03 23:11:02 PST

  Modified files:
    sys/vm               vm_map.c 
  Log:
  Two changes to vm_map_delete:
  
  1. Don't bother checking object->ref_count == 1 in order to set
  OBJ_ONEMAPPING.  It's a waste of time.  If object->ref_count == 1,
  vm_map_entry_delete will "run-down" the object and its pages.
  
  2. If object->ref_count == 1, ignore OBJ_ONEMAPPING.  Wait for
  vm_map_entry_delete to "run-down" the object and its pages.
  Otherwise, we're calling two different procedures to delete
  the object's pages.
  
  Note: "vmstat -s" will once again show a non-zero value
  for "pages freed by exiting processes".
  
  Revision  Changes    Path
  1.160     +10 -13    src/sys/vm/vm_map.c


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




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