summaryrefslogtreecommitdiffstats
path: root/sys/vm/vm_contig.c
diff options
context:
space:
mode:
authoralc <alc@FreeBSD.org>2004-01-06 20:52:55 +0000
committeralc <alc@FreeBSD.org>2004-01-06 20:52:55 +0000
commit90dc293a4102e924fdeaeaf8c6a6439787ec02b1 (patch)
treebd1934fe590ef738c7e196edfee76cf8d6f33f0e /sys/vm/vm_contig.c
parentcaf374ec700885cabe5ef9136f6eab289222614f (diff)
downloadFreeBSD-src-90dc293a4102e924fdeaeaf8c6a6439787ec02b1.zip
FreeBSD-src-90dc293a4102e924fdeaeaf8c6a6439787ec02b1.tar.gz
Don't bother clearing PG_ZERO in contigmalloc1(), kmem_alloc(), or
kmem_malloc(). It serves no purpose.
Diffstat (limited to 'sys/vm/vm_contig.c')
-rw-r--r--sys/vm/vm_contig.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/vm/vm_contig.c b/sys/vm/vm_contig.c
index ebfce02..3628b37 100644
--- a/sys/vm/vm_contig.c
+++ b/sys/vm/vm_contig.c
@@ -269,7 +269,6 @@ again1:
OFF_TO_IDX(tmp_addr - VM_MIN_KERNEL_ADDRESS));
if ((flags & M_ZERO) && !(m->flags & PG_ZERO))
pmap_zero_page(m);
- m->flags = 0;
tmp_addr += PAGE_SIZE;
}
VM_OBJECT_UNLOCK(kernel_object);
OpenPOWER on IntegriCloud