diff options
author | Attilio Rao <attilio@FreeBSD.org> | 2013-05-21 20:54:03 +0000 |
---|---|---|
committer | Attilio Rao <attilio@FreeBSD.org> | 2013-05-21 20:54:03 +0000 |
commit | bed927ee176fa2abf867d9e634a937dbb94170f3 (patch) | |
tree | 60761676810536da90e26b372c16c5b7dacd2f89 | |
parent | 9af6d512f51dd0452a9a596471e5212121e4ca79 (diff) | |
download | src-bed927ee176fa2abf867d9e634a937dbb94170f3.tar.gz src-bed927ee176fa2abf867d9e634a937dbb94170f3.zip |
vm_object locking is not needed there as pages are already wired.
Sponsored by: EMC / Isilon storage division
Submitted by: alc
Notes
Notes:
svn path=/head/; revision=250885
-rw-r--r-- | sys/kern/vfs_bio.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/kern/vfs_bio.c b/sys/kern/vfs_bio.c index 5c5bde4819f1..60816b10b6d5 100644 --- a/sys/kern/vfs_bio.c +++ b/sys/kern/vfs_bio.c @@ -4211,7 +4211,6 @@ vfs_bio_bzero_buf(struct buf *bp, int base, int size) } else { BUF_CHECK_UNMAPPED(bp); n = PAGE_SIZE - (base & PAGE_MASK); - VM_OBJECT_WLOCK(bp->b_bufobj->bo_object); for (i = base / PAGE_SIZE; size > 0 && i < bp->b_npages; ++i) { m = bp->b_pages[i]; if (n > size) @@ -4221,7 +4220,6 @@ vfs_bio_bzero_buf(struct buf *bp, int base, int size) size -= n; n = PAGE_SIZE; } - VM_OBJECT_WUNLOCK(bp->b_bufobj->bo_object); } } |