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]> --
PGP Key:
"Power Users Use the Power to Serve!"  -

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to