cvs commit: src/sys/kern vfs_mount.c
Jeff Roberson
jeff at FreeBSD.org
Fri Mar 31 03:49:52 UTC 2006
jeff 2006-03-31 03:49:51 UTC
FreeBSD src repository
Modified files:
sys/kern vfs_mount.c
Log:
- 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.
Revision Changes Path
1.220 +32 -8 src/sys/kern/vfs_mount.c
More information about the cvs-src
mailing list