Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Jan 1999 02:12:56 -0800 (PST)
From:      Matt Dillon <dillon@FreeBSD.ORG>
To:        cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG
Subject:   cvs commit: src/sys/vm vm_pageout.c
Message-ID:  <199901211012.CAA24102@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
dillon      1999/01/21 02:12:55 PST

  Modified files:
    sys/vm               vm_pageout.c 
  Log:
      Reorganized some of the low memory testing code to make it more useful.
  
      Removed call to vm_object_collapse(), which can block.  This was being
      called without the pageout code holding any sort of reference on the
      vm_object or vm_page_t structures being manipulated.  Since this code
      can block, it was possible for other kernel code to shred the state
      the pageout code was assuming remained intact.
  
      Fixed potential blocking condition in vm_pageout_page_free() ( which
      could cause a deadlock in a low-memory situation ).
  
      Currently there is a hack in-place to deal with clean filesystem meta-data
      polluting the inactive page queue.  John doesn't like the hack, and neither
      do I.
  
      Revamped and commented a portion of the pageout loop.
  
      Added protection against potential memory deadlocks with OBJT_VNODE
      when using VOP_ISLOCKED().  The problem is that vp->v_data can be NULL
      which causes VOP_ISLOCKED() to return a less informed answer.
  
      remove vm_pager_sync() -- none of the pagers use it any more ( the old
      swapper used to.  The new one does not ).
  
  Revision  Changes    Path
  1.131     +1 -1      src/sys/vm/vm_pageout.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?199901211012.CAA24102>