I disabled my swap (the only one I have) and I got this message: swap_pager_getswapspace(1): failed shouldnt we set swap_pager_full = 2 in swapoff() in a case nswapdev reached zero? --- /sys/vm/swap_pager.c Mon Jan 5 09:32:00 2004 +++ swap_pager.c Sat Jan 10 16:24:49 2004 _at__at_ -2267,6 +2267,10 _at__at_ mtx_lock(&sw_dev_mtx); TAILQ_REMOVE(&swtailq, sp, sw_list); nswapdev--; + if (nswapdev == 0) { + swap_pager_full = 2; + swap_pager_almost_full = 1; + } if (swdevhd == sp) swdevhd = NULL; mtx_unlock(&sw_dev_mtx); thnx Roman DivackyReceived on Mon Jan 12 2004 - 03:32:41 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:37 UTC