mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-21 15:54:00 +00:00
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:
parent
48055d8c9d
commit
8febaa4df0
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=109128
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue