Date: Tue, 10 May 2005 01:12:30 -0400 (EDT) From: Andre Guibert de Bruet <andy@siliconlandmark.com> To: current@freebsd.org Subject: VM pager subsystem shutdown? Message-ID: <20050510001050.S750@lexi.siliconlandmark.com>
next in thread | raw e-mail | index | archive | help
Hi, Upon looking at the boot(9) code in kern_shutdown.c, it occured to me that there doesn't seem to be shutdown code for the VM pager subsystem. Is this done on purpose? If not, is creating a global-scope function in vm/swap_pager.c that iterates over the swdevt's in the LISTQ and feeds them swap_pager_swapoff() the simplest of ways of going about this? I stumbled upon this while analyzing the various vnodes still open at shutdown during the call to vfs_unmountall (See the patch in the "The "unmount of /dev failed (BUSY)" message, explained" thread). The only reason for the reference to /dev/amrd0s1b that I can think of would be the use of swap, and disabling it in fstab and re-performing the test confirms this. Please be gentle, I am still learning about our VM subsystem... :-) Andy /* Andre Guibert de Bruet * 6f43 6564 7020 656f 2e74 4220 7469 6a20 */ /* Code poet / Sysadmin * 636f 656b 2e79 5320 7379 6461 696d 2e6e */ /* GSM: +1 734 846 8758 * 5520 494e 2058 6c73 7565 6874 002e 0000 */ /* WWW: siliconlandmark.com * Tormenting bytes since 1980. */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050510001050.S750>