svn commit: r210923 - in head/sys: fs/devfs kern sys vm

Kostik Belousov kostikbel at gmail.com
Fri Aug 6 18:49:54 UTC 2010


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 ?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/svn-src-all/attachments/20100806/5d254488/attachment.pgp


More information about the svn-src-all mailing list