summaryrefslogtreecommitdiffstats
path: root/sys/kern/vfs_vnops.c
diff options
context:
space:
mode:
authorkib <kib@FreeBSD.org>2013-09-13 06:39:10 +0000
committerkib <kib@FreeBSD.org>2013-09-13 06:39:10 +0000
commitb3080da236407f37102bde7b1e2cd292b78aa8ab (patch)
treec9e7fa71a0061ddb71c90429434128f2b81846eb /sys/kern/vfs_vnops.c
parentacb9f7ba6185fe661cada92df79c40b500ea2147 (diff)
downloadFreeBSD-src-b3080da236407f37102bde7b1e2cd292b78aa8ab.zip
FreeBSD-src-b3080da236407f37102bde7b1e2cd292b78aa8ab.tar.gz
Reduce the scope of the proctree_lock. If several processes cause
continuous calls to the uprintf(9), the proctree_lock could be shared-locked for indefinite amount of time, starving exclusive requests. Since proctree_lock is needed for fork() and exit(), this effectively stops the machine. While there, do the similar reduction for tprintf(9). Reported and tested by: pho Reviewed by: ed Sponsored by: The FreeBSD Foundation MFC after: 1 week Approved by: re (glebius)
Diffstat (limited to 'sys/kern/vfs_vnops.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud