mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-15 10:17:20 +00:00
vm_page_free_toq:
Clear the dirty bit mask (vm_page_undirty) before adding the page to the free page queue. Submitted by: dillon
This commit is contained in:
parent
4e943310b7
commit
3fc3fec6d3
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=49948
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user