summaryrefslogtreecommitdiffstats
path: root/sys/kern/vfs_default.c
diff options
context:
space:
mode:
authorjeff <jeff@FreeBSD.org>2006-03-31 03:49:51 +0000
committerjeff <jeff@FreeBSD.org>2006-03-31 03:49:51 +0000
commit1a43943ef60bbb86e45d755c6d1055f7513530a5 (patch)
tree09c74a5ac848d059408d1f2e437cc419538c296c /sys/kern/vfs_default.c
parent316b7aa6fbc29db826244212a4eee2bc5d25b4a7 (diff)
downloadFreeBSD-src-1a43943ef60bbb86e45d755c6d1055f7513530a5.zip
FreeBSD-src-1a43943ef60bbb86e45d755c6d1055f7513530a5.tar.gz
- Allocate mounts from a uma zone that uses UMA_ZONE_NOFREE to prevent
mount memory from being reclaimed. This resolves a number of race conditions described in vfs_default.c and introduced with the VFS_LOCK_GIANT macros. - Let the mtx and lock remain valid after the mount structure has been freed by using init and fini calls. Technically fini will never be called but is included for completeness. - Consistently use lockmgr directly rather than lockmgr to lock and vfs_unbusy to unlock. Discussed with: tegge Tested by: kris Sponsored by: Isilon Systems, Inc.
Diffstat (limited to 'sys/kern/vfs_default.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud