kernel - Add D_QUICK device flag
commit0c5ceff2867c71bf573ba43090853e2819c0e60d
authorMatthew Dillon <dillon@apollo.backplane.com>
Wed, 18 Oct 2017 06:36:40 +0000 (17 23:36 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Wed, 18 Oct 2017 06:39:40 +0000 (17 23:39 -0700)
tree0fad2886b28f45529e8e85fb9e02df11caa58fd9
parent9967a09040ccea03df5d78df68902e6bf53c0528
kernel - Add D_QUICK device flag

* Add the D_QUICK device flag.  This flag tells devfs that it does not
  have to handle complex opencount interactions in VOP_OPEN and
  VOP_CLOSE, allowing devfs to retain the shared lock for those
  operations.

* Flag kernel special devices such as /dev/zero, /dev/null,
  /dev/urandom, etc, with D_QUICK.
sys/kern/kern_memio.c
sys/sys/device.h