1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-31 16:57:10 +00: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:
John Dyson 1996-06-30 21:16:18 +00:00
parent ef1b941ad5
commit 877329e059
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=16858

View File

@ -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 @@ swapout_procs()
* event of some kind
*/
if (((p->p_priority & 0x7f) < PSOCK) ||
(p->p_slptime <= 4))
(p->p_slptime <= 10))
continue;
++vm->vm_refcnt;