git: linux emu - MPSAFE work

Alex Hornung alexh at crater.dragonflybsd.org
Sat Jul 3 10:44:19 PDT 2010


commit 390b3b9b5fcb62211f443881b81dd662d1800c8d
Author: Alex Hornung <ahornung at gmail.com>
Date:   Sat Jul 3 18:40:10 2010 +0100

    linux emu - MPSAFE work
    
    * Reduce the uses of the mplock to a bare minimum, such as when calling
      exit1.
    
    * Change the emuldata lock to lockmgr; it shouldn't have been mplock in
      the first place.
    
    * Reduce the scope locked by the emuldata lock as much as possible.

Summary of changes:
 sys/emulation/linux/Makefile             |    4 ++-
 sys/emulation/linux/i386/linux_machdep.c |   13 +++--------
 sys/emulation/linux/linux_emuldata.c     |   34 +++++++++++++++---------------
 sys/emulation/linux/linux_emuldata.h     |    9 --------
 sys/emulation/linux/linux_futex.c        |   12 ++++++----
 sys/emulation/linux/linux_misc.c         |   15 ++++++++-----
 sys/emulation/linux/linux_signal.c       |    7 +++--
 7 files changed, 44 insertions(+), 50 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/390b3b9b5fcb62211f443881b81dd662d1800c8d


-- 
DragonFly BSD source repository





More information about the Commits mailing list