Removed gratuitous m->blah=0 assignments when initializing the vm_page

structs in vm_page_startup(). The vm_page structs are already completely
zeroed.
This commit is contained in:
David Greenman 1995-04-16 11:50:45 +00:00
parent cece489df8
commit 8c3d9c403c
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=7879

View file

@ -34,7 +34,7 @@
* SUCH DAMAGE.
*
* from: @(#)vm_page.c 7.4 (Berkeley) 5/7/91
* $Id: vm_page.c,v 1.28 1995/04/09 06:03:52 davidg Exp $
* $Id: vm_page.c,v 1.29 1995/04/16 09:59:16 davidg Exp $
*/
/*
@ -336,10 +336,7 @@ vm_page_startup(starta, enda, vaddr)
++cnt.v_free_count;
m = PHYS_TO_VM_PAGE(pa);
m->flags = PG_FREE;
m->dirty = 0;
m->object = 0;
m->phys_addr = pa;
m->hold_count = 0;
TAILQ_INSERT_TAIL(&vm_page_queue_free, m, pageq);
pa += PAGE_SIZE;
}