cvs commit: src/sys/vm vm_page.c

Alan Cox alc at FreeBSD.org
Tue May 11 21:27:19 PDT 2004


alc         2004/05/11 21:27:18 PDT

  FreeBSD src repository

  Modified files:
    sys/vm               vm_page.c 
  Log:
  Restructure vm_page_select_cache() so that adding assertions is easy.
  
  Some of the conditions that caused vm_page_select_cache() to deactivate a
  page were wrong.  For example, deactivating an unmanaged or wired page is a
  nop.  Thus, if vm_page_select_cache() had ever encountered an unmanaged or
  wired page, it would have looped forever.  Now, we assert that the page is
  neither unmanaged nor wired.
  
  Revision  Changes    Path
  1.283     +15 -10    src/sys/vm/vm_page.c


More information about the cvs-src mailing list