From dfdb369a7d706526b72dc7bff958688de5ca72a2 Mon Sep 17 00:00:00 2001 From: dyson Date: Mon, 4 May 1998 03:01:44 +0000 Subject: Work around some VM bugs, the worst being an overly aggressive swap space free calculation. More complete fixes will be forthcoming, in a week. --- sys/vm/vm_fault.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'sys/vm/vm_fault.c') diff --git a/sys/vm/vm_fault.c b/sys/vm/vm_fault.c index 52a2393..e664573 100644 --- a/sys/vm/vm_fault.c +++ b/sys/vm/vm_fault.c @@ -66,7 +66,7 @@ * any improvements or extensions that they make and grant Carnegie the * rights to redistribute these changes. * - * $Id: vm_fault.c,v 1.81 1998/03/01 04:18:18 dyson Exp $ + * $Id: vm_fault.c,v 1.82 1998/03/07 20:45:47 dyson Exp $ */ /* @@ -606,7 +606,8 @@ readrest: */ vm_page_rename(fs.m, fs.first_object, fs.first_pindex); fs.first_m = fs.m; - fs.m->dirty = VM_PAGE_BITS_ALL; + fs.first_m->dirty = VM_PAGE_BITS_ALL; + fs.first_m->flags |= PG_BUSY; fs.m = NULL; cnt.v_cow_optim++; } else { -- cgit v1.1