vm_hold_load_pages() needn't clear PG_ZERO because it didn't pass

VM_ALLOC_ZERO to vm_page_alloc(). (PG_ZERO is clear by default.)
This commit is contained in:
alc 2003-01-12 06:30:15 +00:00
parent 6b09937795
commit a1d37b604a

View File

@ -3494,7 +3494,6 @@ vm_hold_load_pages(struct buf * bp, vm_offset_t from, vm_offset_t to)
}
vm_page_lock_queues();
p->valid = VM_PAGE_BITS_ALL;
vm_page_flag_clear(p, PG_ZERO);
vm_page_unlock_queues();
pmap_qenter(pg, &p, 1);
bp->b_pages[index] = p;