From 91b1e285567b91e9e21f08c4ce0f3f18f965435c Mon Sep 17 00:00:00 2001 From: David Greenman Date: Tue, 4 Oct 1994 03:10:47 +0000 Subject: [PATCH] Commented out anti-paging code as it was found to be the cause of a buffer deadlock. --- sys/kern/vfs_bio.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sys/kern/vfs_bio.c b/sys/kern/vfs_bio.c index ad981d7b3b47..197c906f29e7 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 @@ -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;