linux emu - MPSAFE work
authorAlex Hornung <ahornung@gmail.com>
Sat, 3 Jul 2010 17:40:10 +0000 (18:40 +0100)
committerAlex Hornung <ahornung@gmail.com>
Sat, 3 Jul 2010 17:43:06 +0000 (18:43 +0100)
commit390b3b9b5fcb62211f443881b81dd662d1800c8d
tree81667edf78c16cc1862a691c7dcba45ad847575e
parentfd35368d545ab84f9af69d58d20fe67943e298c0
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.
sys/emulation/linux/Makefile
sys/emulation/linux/i386/linux_machdep.c
sys/emulation/linux/linux_emuldata.c
sys/emulation/linux/linux_emuldata.h
sys/emulation/linux/linux_futex.c
sys/emulation/linux/linux_misc.c
sys/emulation/linux/linux_signal.c