git: kernel - Make sys_ioctl() MPSAFE

看板DFBSD_commit作者時間15年前 (2010/08/25 15:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
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
文章代碼(AID): #1CTCRs9Z (DFBSD_commit)