summaryrefslogtreecommitdiffstats
path: root/sys/vm
diff options
context:
space:
mode:
authoralc <alc@FreeBSD.org>2002-08-03 01:29:52 +0000
committeralc <alc@FreeBSD.org>2002-08-03 01:29:52 +0000
commit2fc518e7d036c439243ac150bc002f836ffe86e6 (patch)
tree29f766bd290d60be443fb1af170827f906504f5f /sys/vm
parent11999f653492e17e269ada0829468c98c87a4e37 (diff)
downloadFreeBSD-src-2fc518e7d036c439243ac150bc002f836ffe86e6.zip
FreeBSD-src-2fc518e7d036c439243ac150bc002f836ffe86e6.tar.gz
o Remove the setting of PG_MAPPED from vm_page_wire() and
vm_page_alloc(VM_ALLOC_WIRED).
Diffstat (limited to 'sys/vm')
-rw-r--r--sys/vm/vm_page.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/vm/vm_page.c b/sys/vm/vm_page.c
index 29820ce..97a7b5d 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 */
}
/*
OpenPOWER on IntegriCloud