DragonFly BSD
DragonFly commits List (threaded) for 2010-08
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

git: kernel - Make sys_ioctl() MPSAFE


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 25 Aug 2010 00:05:41 -0700 (PDT)

commit 3c499555f10068eaf5493071d7906a849401072e
Author: Matthew Dillon <dillon@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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]