freebsd-skq/sys/fs/devfs
phk 25e67656df Don't hold an extra reference to vnodes. Devfs vnodes are sufficiently
cheap to setup that it doesn't really matter that we recycle device
vnodes at kleenex speed.

Implement first cut try at killing cloned devices when they are
not needed anymore.  For now only the bpf driver is involved in
this experiment.  Cloned devices can set the SI_CHEAPCLONE flag
which allows us to destroy_dev() it when the vcount() drops to zero
and the vnode is reclaimed.  For now it's a requirement that the
driver doesn't keep persistent state from close to (re)open.

Some whitespace changes.
2000-10-09 14:18:07 +00:00
..
devfs_devs.c Don't hold an extra reference to vnodes. Devfs vnodes are sufficiently 2000-10-09 14:18:07 +00:00
devfs_vfsops.c Don't hold an extra reference to vnodes. Devfs vnodes are sufficiently 2000-10-09 14:18:07 +00:00
devfs_vnops.c Don't hold an extra reference to vnodes. Devfs vnodes are sufficiently 2000-10-09 14:18:07 +00:00
devfs.h Add refcounts to the "global" DEVFS inode slots, this allows us 2000-09-06 11:26:43 +00:00