summaryrefslogtreecommitdiffstats
path: root/sys/kern
diff options
context:
space:
mode:
authoralc <alc@FreeBSD.org>2003-01-12 06:30:15 +0000
committeralc <alc@FreeBSD.org>2003-01-12 06:30:15 +0000
commita1d37b604a9bc0c66235b912f12eaec5fd608506 (patch)
tree5e23649114f9a37e88388dd35fb033680178e364 /sys/kern
parent6b0993779549416b2b76645c33285c3d5f992493 (diff)
downloadFreeBSD-src-a1d37b604a9bc0c66235b912f12eaec5fd608506.zip
FreeBSD-src-a1d37b604a9bc0c66235b912f12eaec5fd608506.tar.gz
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.)
Diffstat (limited to 'sys/kern')
-rw-r--r--sys/kern/vfs_bio.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/kern/vfs_bio.c b/sys/kern/vfs_bio.c
index 4139a81..a4e5b6e 100644
--- a/sys/kern/vfs_bio.c
+++ b/sys/kern/vfs_bio.c
@@ -3494,7 +3494,6 @@ tryagain:
}
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;
OpenPOWER on IntegriCloud