cvs commit: src/sys/conf files src/sys/vm vm_page.c vm_page.h vm_pageq.c

Alan Cox alc at FreeBSD.org
Mon Mar 17 23:52:16 PDT 2008


alc         2008-03-18 06:52:15 UTC

  FreeBSD src repository

  Modified files:
    sys/conf             files 
    sys/vm               vm_page.c vm_page.h 
  Removed files:
    sys/vm               vm_pageq.c 
  Log:
  Almost seven years ago, vm/vm_page.c was split into three parts:
  vm/vm_contig.c, vm/vm_page.c, and vm/vm_pageq.c.  Today, vm/vm_pageq.c
  has withered to the point that it contains only four short functions,
  two of which are only used by vm/vm_page.c.  Since I can't foresee any
  reason for vm/vm_pageq.c to grow, it is time to fold the remaining
  contents of vm/vm_pageq.c back into vm/vm_page.c.
  
  Add some comments.  Rename one of the functions, vm_pageq_enqueue(),
  that is now static within vm/vm_page.c to vm_page_enqueue().
  Eliminate PQ_MAXCOUNT as it no longer serves any purpose.
  
  Revision  Changes    Path
  1.1281    +0 -1      src/sys/conf/files
  1.367     +74 -5     src/sys/vm/vm_page.c
  1.153     +1 -4      src/sys/vm/vm_page.h
  1.36      +0 -115    src/sys/vm/vm_pageq.c (dead)


More information about the cvs-all mailing list