cleanup some odd uses of curproc. Remove PHOLD/PRELE around physical I/O
authorMatthew Dillon <dillon@dragonflybsd.org>
Thu, 26 Jun 2003 20:27:53 +0000 (20:27 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Thu, 26 Jun 2003 20:27:53 +0000 (20:27 +0000)
commit05edc21acc36fe94a1f9eaeff6414388e92f5e0f
treec0804e9c46c76e75d18712befa6036bf0526994e
parente74bb4ca0f3a4a69a09838fb8e5dc57580cc72f6
cleanup some odd uses of curproc.  Remove PHOLD/PRELE around physical I/O
(our UPAGES can no longer be swapped out and if they eventually are made
to it will only be when the thread is sleeping on a particular address).

Also move the inblock/oublock accounting in vfs_busy_pages() allowing us
to remove additional curproc references from various filesystem code.  This
also makes inblock/oublock more consistent.
13 files changed:
sys/bus/cam/cam_periph.c
sys/i386/gnu/fpemul/fpu_entry.c
sys/kern/kern_physio.c
sys/kern/kern_proc.c
sys/kern/vfs_bio.c
sys/kern/vfs_cluster.c
sys/platform/pc32/gnu/fpemul/fpu_entry.c
sys/vfs/coda/coda_vnops.c
sys/vfs/gnu/ext2fs/fs.h
sys/vfs/nfs/nfs_vnops.c
sys/vfs/ufs/ffs_alloc.c
sys/vfs/ufs/ffs_inode.c
sys/vfs/ufs/ufs_bmap.c