git: kernel - Make sys_ioctl() MPSAFE

Matthew Dillon dillon at crater.dragonflybsd.org
Wed Aug 25 00:06:41 PDT 2010


commit 3c499555f10068eaf5493071d7906a849401072e
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Wed Aug 25 00:02:05 2010 -0700

    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.

Summary of changes:
 sys/kern/sys_generic.c |   45 +++++++++++++++++++++++++++++++--------------
 1 files changed, 31 insertions(+), 14 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/3c499555f10068eaf5493071d7906a849401072e


-- 
DragonFly BSD source repository





More information about the Commits mailing list