diff options
author | dyson <dyson@FreeBSD.org> | 1995-10-16 05:45:49 +0000 |
---|---|---|
committer | dyson <dyson@FreeBSD.org> | 1995-10-16 05:45:49 +0000 |
commit | a8f1d3e38b52a4b5e1751bb52608dbf3bc4732df (patch) | |
tree | 1da80812e92d49bcab70bfede79b1883c438c711 | |
parent | a7a55e98e33bfb3eea9c607e2d8fc01222d068ab (diff) | |
download | FreeBSD-src-a8f1d3e38b52a4b5e1751bb52608dbf3bc4732df.zip FreeBSD-src-a8f1d3e38b52a4b5e1751bb52608dbf3bc4732df.tar.gz |
Remove an unnecessary tsleep in the swapin code. This tsleep
can defer swapping in processes and is just not the right thing to do.
-rw-r--r-- | sys/vm/vm_glue.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/vm/vm_glue.c b/sys/vm/vm_glue.c index 30b5bd8..8471fd9 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.26 1995/09/17 01:46:03 davidg Exp $ + * $Id: vm_glue.c,v 1.27 1995/09/24 19:51:50 dyson Exp $ */ #include <sys/param.h> @@ -387,7 +387,6 @@ scheduler(udata) loop: while ((cnt.v_free_count + cnt.v_cache_count) < (cnt.v_free_reserved + UPAGES + 2)) { VM_WAIT; - tsleep(&proc0, PVM, "schedm", 0); } pp = NULL; |