mirror of
https://github.com/opnsense/src.git
synced 2026-03-13 06:02:46 -04:00
Make -current consistant with -stable regarding time that a process
sleeps before being swapped out. The time is increased from 4 secs to 10 secs. Originally I had decreased it from 20 to 4, but that is a bit severe. 20 is too long though.
This commit is contained in:
parent
ef1b941ad5
commit
877329e059
1 changed files with 2 additions and 2 deletions
|
|
@ -59,7 +59,7 @@
|
|||
* any improvements or extensions that they make and grant Carnegie the
|
||||
* rights to redistribute these changes.
|
||||
*
|
||||
* $Id: vm_glue.c,v 1.49 1996/05/18 03:37:37 dyson Exp $
|
||||
* $Id: vm_glue.c,v 1.50 1996/05/31 00:37:57 dyson Exp $
|
||||
*/
|
||||
|
||||
#include "opt_ddb.h"
|
||||
|
|
@ -487,7 +487,7 @@ retry:
|
|||
* event of some kind
|
||||
*/
|
||||
if (((p->p_priority & 0x7f) < PSOCK) ||
|
||||
(p->p_slptime <= 4))
|
||||
(p->p_slptime <= 10))
|
||||
continue;
|
||||
|
||||
++vm->vm_refcnt;
|
||||
|
|
|
|||
Loading…
Reference in a new issue