diff options
author | Alan Cox <alc@FreeBSD.org> | 2002-08-03 01:29:52 +0000 |
---|---|---|
committer | Alan Cox <alc@FreeBSD.org> | 2002-08-03 01:29:52 +0000 |
commit | aa9b1d941292ecd400d6c0f0fce696ad8f39cbe3 (patch) | |
tree | 29f766bd290d60be443fb1af170827f906504f5f /sys | |
parent | 8f1586dd655db6b5dd75efdbb0da07a59e70577a (diff) | |
download | src-aa9b1d941292ecd400d6c0f0fce696ad8f39cbe3.tar.gz src-aa9b1d941292ecd400d6c0f0fce696ad8f39cbe3.zip |
o Remove the setting of PG_MAPPED from vm_page_wire() and
vm_page_alloc(VM_ALLOC_WIRED).
Notes
Notes:
svn path=/head/; revision=101250
Diffstat (limited to 'sys')
-rw-r--r-- | sys/vm/vm_page.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/vm/vm_page.c b/sys/vm/vm_page.c index 29820ce7cba3..97a7b5db9619 100644 --- a/sys/vm/vm_page.c +++ b/sys/vm/vm_page.c @@ -959,7 +959,6 @@ loop: } if (req & VM_ALLOC_WIRED) { cnt.v_wire_count++; - m->flags |= PG_MAPPED; /* XXX this does not belong here */ m->wire_count = 1; } else m->wire_count = 0; @@ -1278,7 +1277,6 @@ vm_page_wire(vm_page_t m) m->wire_count++; KASSERT(m->wire_count != 0, ("vm_page_wire: wire_count overflow m=%p", m)); splx(s); - vm_page_flag_set(m, PG_MAPPED); /* XXX this does not belong here */ } /* |