diff options
author | dyson <dyson@FreeBSD.org> | 1998-05-04 03:01:44 +0000 |
---|---|---|
committer | dyson <dyson@FreeBSD.org> | 1998-05-04 03:01:44 +0000 |
commit | dfdb369a7d706526b72dc7bff958688de5ca72a2 (patch) | |
tree | 2bf3497de13a2e7c2ced291564c639a2c97f01f9 /sys/vm/vm_fault.c | |
parent | 869ef5d1be6f873153140a04951a273e92256975 (diff) | |
download | FreeBSD-src-dfdb369a7d706526b72dc7bff958688de5ca72a2.zip FreeBSD-src-dfdb369a7d706526b72dc7bff958688de5ca72a2.tar.gz |
Work around some VM bugs, the worst being an overly aggressive
swap space free calculation. More complete fixes will be forthcoming,
in a week.
Diffstat (limited to 'sys/vm/vm_fault.c')
-rw-r--r-- | sys/vm/vm_fault.c | 5 |
1 files changed, 3 insertions, 2 deletions
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 { |