svn commit: r210923 - in head/sys: fs/devfs kern sys vm
gavin at FreeBSD.org
Sat Aug 7 13:36:34 UTC 2010
On Fri, 6 Aug 2010, Kostik Belousov wrote:
> On Fri, Aug 06, 2010 at 04:39:36PM +0100, Gavin Atkinson wrote:
> > On Fri, 2010-08-06 at 09:42 +0000, Konstantin Belousov wrote:
> > > Author: kib
> > > Date: Fri Aug 6 09:42:15 2010
> > > New Revision: 210923
> > > URL: http://svn.freebsd.org/changeset/base/210923
> > >
> > > Log:
> > > Add new make_dev_p(9) flag MAKEDEV_ETERNAL to inform devfs that created
> > > cdev will never be destroyed. Propagate the flag to devfs vnodes as
> > > VV_ETERNVALDEV. Use the flags to avoid acquiring devmtx and taking a
> > > thread reference on such nodes.
> > Does this flag have any effect on unmounting a devfs mount?
> It should not. The flag turns off some safety measures that are used
> to make sure that cdev is not destroyed while cdevsw method is active.
> Do you experience some trouble after the change ?
I've not seen any problems, I was just wanting to check that I understood
the exact meaning of this flag.
More information about the svn-src-head