cvs commit: src/sys/vm swap_pager.c

Poul-Henning Kamp phk at FreeBSD.org
Sat Aug 30 04:33:27 PDT 2003


phk         2003/08/30 04:33:25 PDT

  FreeBSD src repository

  Modified files:
    sys/vm               swap_pager.c 
  Log:
  Continue the objectification of the swapdev backends:
  
  Remove the vnode and dev_t fields and replace them with a void *.
  
  Introduce separate strategy functions for devices and regular (NFS)
  vnodes.
  
  For devices we don't need the vnode v_numoutput stuff.
  
  Add a generic swaponsomething() function to add a swapdevice and
  split the remainder of swaponvp() into swaponvp() and swapondev()
  which calls this backend.
  
  Revision  Changes    Path
  1.226     +106 -59   src/sys/vm/swap_pager.c


More information about the cvs-src mailing list