View | Details | Raw Unified | Return to bug 15420
Collapse All | Expand All

(-)vm_pageout.c Fri Dec 10 01:54:22 1999 (-3 / +2 lines)
Lines 1136-1143 Link Here
1136
        * make sure that we have swap space -- if we are low on memory and
1136
        * make sure that we have swap space -- if we are low on memory and
1137
        * swap -- then kill the biggest process.
1137
        * swap -- then kill the biggest process.
1138
        */
1138
        */
1139
       if ((vm_swap_size == 0 || swap_pager_full) &&
1139
       if (vm_swap_size == 0 || swap_pager_full || 
1140
           ((cnt.v_free_count + cnt.v_cache_count) < cnt.v_free_min)) {
1140
          (cnt.v_free_count + cnt.v_cache_count) < cnt.v_free_min) {
1141
               bigproc = NULL;
1141
               bigproc = NULL;
1142
               bigsize = 0;
1142
               bigsize = 0;
1143
               for (p = allproc.lh_first; p != 0; p = p->p_list.le_next) {
1143
               for (p = allproc.lh_first; p != 0; p = p->p_list.le_next) {
1144
-------------------------------->8--------------------------------

Return to bug 15420