Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 31 Mar 2006 03:49:51 +0000 (UTC)
From:      Jeff Roberson <jeff@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/kern vfs_mount.c
Message-ID:  <200603310349.k2V3npg3019705@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200603310349.k2V3npg3019705>