cvs commit: src/sys/vm vm_page.c vm_phys.c vm_reserv.c vm_reserv.h

Alan Cox alc at FreeBSD.org
Sun Apr 6 18:09:29 UTC 2008


alc         2008-04-06 18:09:28 UTC

  FreeBSD src repository

  Modified files:
    sys/vm               vm_page.c vm_phys.c vm_reserv.c 
                         vm_reserv.h 
  Log:
  Introduce vm_reserv_reclaim_contig().  This function is used by
  contigmalloc(9) as a last resort to steal pages from an inactive,
  partially-used superpage reservation.
  
  Rename vm_reserv_reclaim() to vm_reserv_reclaim_inactive() and
  refactor it so that a separate subroutine is responsible for breaking
  the selected reservation.  This subroutine is also used by
  vm_reserv_reclaim_contig().
  
  Revision  Changes    Path
  1.369     +1 -1      src/sys/vm/vm_page.c
  1.9       +8 -0      src/sys/vm/vm_phys.c
  1.2       +85 -22    src/sys/vm/vm_reserv.c
  1.2       +5 -2      src/sys/vm/vm_reserv.h


More information about the cvs-src mailing list