cvs commit: src/sys/vm vm_pageout.c

Alan Cox alc at FreeBSD.org
Mon Jun 18 02:04:39 UTC 2007


alc         2007-06-18 02:04:39 UTC

  FreeBSD src repository

  Modified files:
    sys/vm               vm_pageout.c 
  Log:
  Eliminate unnecessary checks from vm_pageout_clean(): The page that is
  passed to vm_pageout_clean() cannot possibly be PG_UNMANAGED because
  it came from the inactive queue and PG_UNMANAGED pages are not in any
  page queue.  Moreover, PG_UNMANAGED pages only exist in OBJT_PHYS
  objects, and all pages within a OBJT_PHYS object are PG_UNMANAGED.
  So, if the page that is passed to vm_pageout_clean() is not
  PG_UNMANAGED, then it cannot be from an OBJT_PHYS object and its
  neighbors from the same object cannot themselves be PG_UNMANAGED.
  
  Reviewed by:    tegge
  
  Revision  Changes    Path
  1.287     +4 -7      src/sys/vm/vm_pageout.c


More information about the cvs-all mailing list