diff options
author | dyson <dyson@FreeBSD.org> | 1996-06-30 21:16:18 +0000 |
---|---|---|
committer | dyson <dyson@FreeBSD.org> | 1996-06-30 21:16:18 +0000 |
commit | 477c2d56542bfda34a5db98b33adcc9c07d0b37a (patch) | |
tree | 0f6bfceb28abff5ff767d5e847af008c541c1f56 /sys/vm | |
parent | 652fd8dd7fb4ace9ef6392e015fb547b49f0be7b (diff) | |
download | FreeBSD-src-477c2d56542bfda34a5db98b33adcc9c07d0b37a.zip FreeBSD-src-477c2d56542bfda34a5db98b33adcc9c07d0b37a.tar.gz |
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.
Diffstat (limited to 'sys/vm')
-rw-r--r-- | sys/vm/vm_glue.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/vm/vm_glue.c b/sys/vm/vm_glue.c index 97d8764..6e2d55b 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; |