alistair23-linux/arch/um
Paolo 'Blaisorblade' Giarrusso d7fb2c3865 [PATCH] uml ubd driver: change ubd_lock to be a mutex
This lock protects ubd setup and teardown, so is only used in process context;
beyond that, during such setup memory allocations must be performed and some
generic functions which can sleep must be called (such as add_disk()).  So the
only correct solution is to make it a mutex instead of a spin_lock.  No other
change is done - this lock must be acquired in different places but it's done
afterwards.

Signed-off-by: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Cc: Jeff Dike <jdike@addtoit.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-10-31 08:06:59 -08:00
..
drivers [PATCH] uml ubd driver: change ubd_lock to be a mutex 2006-10-31 08:06:59 -08:00
include [PATCH] uml: mconsole fixes 2006-10-24 22:01:10 -07:00
kernel [PATCH] uml: split memory allocation prototypes out of user.h 2006-10-20 10:26:36 -07:00
os-Linux [PATCH] Fix "Remove the use of _syscallX macros in UML" 2006-10-30 12:08:41 -08:00
scripts kbuild: fix ia64 breakage after introducing make -rR 2006-07-01 09:58:02 +02:00
sys-i386 [PATCH] Fix "Remove the use of _syscallX macros in UML" 2006-10-30 12:08:41 -08:00
sys-ia64
sys-ppc Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
sys-x86_64 [PATCH] Fix "Remove the use of _syscallX macros in UML" 2006-10-30 12:08:41 -08:00
config.release
defconfig [PATCH] uml: remove syscall debugging 2006-07-10 13:24:24 -07:00
Kconfig [PATCH] uml: use DEFCONFIG_LIST to avoid reading host's config 2006-10-20 10:26:36 -07:00
Kconfig.char [PATCH] uml: kconfig - silence warning 2006-10-20 10:26:36 -07:00
Kconfig.debug [PATCH] uml: remove syscall debugging 2006-07-10 13:24:24 -07:00
Kconfig.i386 [PATCH] uml: allow finer tuning for host VMSPLIT setting 2006-10-11 11:14:21 -07:00
Kconfig.net
Kconfig.scsi
Kconfig.x86_64
Makefile [PATCH] uml: fix compilation options for USER_OBJS 2006-10-30 12:08:41 -08:00
Makefile-i386 [PATCH] uml: fix compilation options for USER_OBJS 2006-10-30 12:08:41 -08:00
Makefile-ia64
Makefile-os-Linux
Makefile-ppc
Makefile-skas
Makefile-tt
Makefile-x86_64 [PATCH] uml: fix compilation options for USER_OBJS 2006-10-30 12:08:41 -08:00