The swap pager getpages/putpages routines depend on swap_pager_swap_init()
being called before they are called. However, swap_pager_swap_init() isn't
called until the pagedaemon starts up. Granted, it should always be run before
init has a chance to exec swapon via /etc/rc, however, would it be more correct
to instead let swap_pager_swap_init() be run by a SI_SUB_VM SYSINIT
(SI_ORDER_ANY, with the other VM sysinit's bumped up to be less than ANY). The
race is incredibly small, but I'd feel better if it was more correct. Comments?
--
John Baldwin <[EMAIL PROTECTED]> -- http://www.FreeBSD.org/~jhb/
PGP Key: http://www.baldwin.cx/~john/pgpkey.asc
"Power Users Use the Power to Serve!" - http://www.FreeBSD.org/
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message