From 877329e0590972edde08e476dc00a8bb01c42dba Mon Sep 17 00:00:00 2001 From: John Dyson Date: Sun, 30 Jun 1996 21:16:18 +0000 Subject: [PATCH] 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. --- sys/vm/vm_glue.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/vm/vm_glue.c b/sys/vm/vm_glue.c index 97d8764780cf..6e2d55bd2c1b 100644 --- a/sys/vm/vm_glue.c +++ b/sys/vm/vm_glue.c @@ -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;