cvs commit: src/sys/vm vm_page.c

Jeff Roberson jeff at FreeBSD.org
Tue Mar 15 06:14:10 PST 2005


jeff        2005-03-15 14:14:09 UTC

  FreeBSD src repository

  Modified files:
    sys/vm               vm_page.c 
  Log:
   - In vm_page_insert() hold the backing vnode when the first page
     is inserted.
   - In vm_page_remove() drop the backing vnode when the last page
     is removed.
   - Don't check the vnode to see if it must be reclaimed on every
     call to vm_page_free_toq() as we only check it now when it is
     actually required.  This saves us two lock operations per call.
  
  Sponsored by:   Isilon Systems, Inc.
  
  Revision  Changes    Path
  1.304     +10 -19    src/sys/vm/vm_page.c


More information about the cvs-src mailing list