diff options
author | dg <dg@FreeBSD.org> | 1995-04-16 11:50:45 +0000 |
---|---|---|
committer | dg <dg@FreeBSD.org> | 1995-04-16 11:50:45 +0000 |
commit | 007e9bf8a2ee08fa5600d4ce887de11add9180f2 (patch) | |
tree | 584381156301a659cfd20f55f281383a0d22fade /sys/vm | |
parent | 3dc853919e71f295a04613db01c2b784ddd9e3f5 (diff) | |
download | FreeBSD-src-007e9bf8a2ee08fa5600d4ce887de11add9180f2.zip FreeBSD-src-007e9bf8a2ee08fa5600d4ce887de11add9180f2.tar.gz |
Removed gratuitous m->blah=0 assignments when initializing the vm_page
structs in vm_page_startup(). The vm_page structs are already completely
zeroed.
Diffstat (limited to 'sys/vm')
-rw-r--r-- | sys/vm/vm_page.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/sys/vm/vm_page.c b/sys/vm/vm_page.c index 9223d10..952b11b 100644 --- a/sys/vm/vm_page.c +++ b/sys/vm/vm_page.c @@ -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; } |