diff options
author | dg <dg@FreeBSD.org> | 1995-03-28 05:35:29 +0000 |
---|---|---|
committer | dg <dg@FreeBSD.org> | 1995-03-28 05:35:29 +0000 |
commit | 3fb870b9c60ec55bcedbd4aa843d3b6e293b2396 (patch) | |
tree | abe0be61936746f8a8ec622e4016bba41d3e8dba /sys/vm | |
parent | a28421e8bd4f332b1d7969506e2d2d52ba674fbd (diff) | |
download | FreeBSD-src-3fb870b9c60ec55bcedbd4aa843d3b6e293b2396.zip FreeBSD-src-3fb870b9c60ec55bcedbd4aa843d3b6e293b2396.tar.gz |
Fixed "pages freed by daemon" statistic (again).
Diffstat (limited to 'sys/vm')
-rw-r--r-- | sys/vm/vm_pageout.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/vm/vm_pageout.c b/sys/vm/vm_pageout.c index b3c0966..68accc8 100644 --- a/sys/vm/vm_pageout.c +++ b/sys/vm/vm_pageout.c @@ -65,7 +65,7 @@ * any improvements or extensions that they make and grant Carnegie the * rights to redistribute these changes. * - * $Id: vm_pageout.c,v 1.41 1995/03/12 07:58:29 davidg Exp $ + * $Id: vm_pageout.c,v 1.42 1995/03/16 18:17:28 bde Exp $ */ /* @@ -572,6 +572,7 @@ rescan1: if (m->valid == 0) { pmap_page_protect(VM_PAGE_TO_PHYS(m), VM_PROT_NONE); vm_page_free(m); + cnt.v_dfree++; } else { vm_page_cache(m); } @@ -693,6 +694,7 @@ rescan1: if (!m) break; vm_page_free(m); + cnt.v_dfree++; } /* |