1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-14 10:09:48 +00:00

Fixed "pages freed by daemon" statistic (again).

This commit is contained in:
David Greenman 1995-03-28 05:35:29 +00:00
parent df32d0cc55
commit 0bb3a0d2f4
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=7424

View File

@ -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 @@ vm_pageout_scan()
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 @@ vm_pageout_scan()
if (!m)
break;
vm_page_free(m);
cnt.v_dfree++;
}
/*