diff options
author | dg <dg@FreeBSD.org> | 1994-10-04 03:10:47 +0000 |
---|---|---|
committer | dg <dg@FreeBSD.org> | 1994-10-04 03:10:47 +0000 |
commit | da97dc92f809db951c305ef4e2c9f273675253c5 (patch) | |
tree | 03274e33e49cc1729fae2a1870954cafaea716c0 | |
parent | edef5d36b80a77d253f380db7965470d557fcb9a (diff) | |
download | FreeBSD-src-da97dc92f809db951c305ef4e2c9f273675253c5.zip FreeBSD-src-da97dc92f809db951c305ef4e2c9f273675253c5.tar.gz |
Commented out anti-paging code as it was found to be the cause of a
buffer deadlock.
-rw-r--r-- | sys/kern/vfs_bio.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/kern/vfs_bio.c b/sys/kern/vfs_bio.c index ad981d7..197c906 100644 --- a/sys/kern/vfs_bio.c +++ b/sys/kern/vfs_bio.c @@ -16,7 +16,7 @@ * 4. Modifications may be freely made to this file if the above conditions * are met. * - * $Id: vfs_bio.c,v 1.11 1994/08/31 06:17:37 davidg Exp $ + * $Id: vfs_bio.c,v 1.12 1994/09/25 19:33:51 phk Exp $ */ #include <sys/param.h> @@ -683,6 +683,7 @@ vm_hold_load_pages(vm_offset_t froma, vm_offset_t toa) { for(pg = from ; pg < to ; pg += PAGE_SIZE) { tryagain: +#if 0 /* * don't allow buffer cache to cause VM paging */ @@ -710,8 +711,7 @@ vm_hold_load_pages(vm_offset_t froma, vm_offset_t toa) { tsleep(&loadfreeing, PRIBIO, "biofree", 0); } } - - +#endif if (cnt.v_free_count <= cnt.v_free_reserved + (toa-froma) / PAGE_SIZE) { VM_WAIT; |