svn commit: r326234 - head/sys/vm
Mark Johnston
markj at FreeBSD.org
Sun Nov 26 19:16:46 UTC 2017
Author: markj
Date: Sun Nov 26 19:16:45 2017
New Revision: 326234
URL: https://svnweb.freebsd.org/changeset/base/326234
Log:
Remove unneeded initializations from vm_phys_init_page().
The page allocator always initializes the aflags and oflags fields.
Reviewed by: alc, kib
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D13242
Modified:
head/sys/vm/vm_phys.c
Modified: head/sys/vm/vm_phys.c
==============================================================================
--- head/sys/vm/vm_phys.c Sun Nov 26 18:19:01 2017 (r326233)
+++ head/sys/vm/vm_phys.c Sun Nov 26 19:16:45 2017 (r326234)
@@ -742,7 +742,7 @@ vm_phys_init_page(vm_paddr_t pa)
m->wire_count = 0;
m->busy_lock = VPB_UNBUSIED;
m->hold_count = 0;
- m->flags = m->aflags = m->oflags = 0;
+ m->flags = 0;
m->phys_addr = pa;
m->queue = PQ_NONE;
m->psind = 0;
More information about the svn-src-all
mailing list