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:
Alan Cox 2003-01-12 06:30:15 +00:00
parent 48055d8c9d
commit 8febaa4df0
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=109128

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;