kernel - Make sys_ioctl() MPSAFE
authorMatthew Dillon <dillon@apollo.backplane.com>
Wed, 25 Aug 2010 07:02:05 +0000 (00:02 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Wed, 25 Aug 2010 07:02:05 +0000 (00:02 -0700)
commit3c499555f10068eaf5493071d7906a849401072e
tree4ffbae33b3861a3eee0ee0e703f3d97ec515d859
parentba974ec48b8cbc8c84064444ecd45cf03a1e5b72
kernel - Make sys_ioctl() MPSAFE

* Tokenize the ioctl mapper and stay MPSAFE through the fo_ioctl() call.
  Beyond that it will be determined by the fops driver and for vnodes
  will be determined by the MNTK_*_MPSAFE flags.

* HAMMER's ioctls will now be entered without holding the MP lock, aka
  reblock, prune.
sys/kern/sys_generic.c