Date: Sat, 30 Aug 2003 04:33:25 -0700 (PDT) From: Poul-Henning Kamp <phk@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/vm swap_pager.c Message-ID: <200308301133.h7UBXPYA023619@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200308301133.h7UBXPYA023619>
