From 3fc3fec6d39466464799f6ecee25e6f9f36a5024 Mon Sep 17 00:00:00 2001 From: Alan Cox Date: Tue, 17 Aug 1999 05:08:39 +0000 Subject: [PATCH] vm_page_free_toq: Clear the dirty bit mask (vm_page_undirty) before adding the page to the free page queue. Submitted by: dillon --- sys/vm/vm_page.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sys/vm/vm_page.c b/sys/vm/vm_page.c index be60e0930761..74117deca181 100644 --- a/sys/vm/vm_page.c +++ b/sys/vm/vm_page.c @@ -34,7 +34,7 @@ * SUCH DAMAGE. * * from: @(#)vm_page.c 7.4 (Berkeley) 5/7/91 - * $Id: vm_page.c,v 1.137 1999/08/10 22:21:13 peter Exp $ + * $Id: vm_page.c,v 1.138 1999/08/11 05:12:00 alc Exp $ */ /* @@ -1113,6 +1113,7 @@ vm_page_free_toq(vm_page_t m) } m->valid = 0; + vm_page_undirty(m); if (m->wire_count != 0) { #if !defined(MAX_PERF)