mirror_zfs/module/splat
Brian Behlendorf b8296bf3e6 splat atomic:64-bit: Create thread outside spin lock
The Fedora 3.6 debug kernel identified the following issue where
we create a thread under a spin lock.  This isn't safe because
sleeping could result in a deadlock.  Therefore the lock is changed
to a mutex so it's safe to sleep.

  BUG: sleeping function called from invalid context at mm/slub.c:930
  in_atomic(): 1, irqs_disabled(): 0, pid: 10583, name: splat
  1 lock held by splat/10583:

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
2012-11-06 14:48:57 -08:00
..
Makefile.in Add script for builtin module building. 2012-07-26 15:13:09 -07:00
splat-atomic.c splat atomic:64-bit: Create thread outside spin lock 2012-11-06 14:48:57 -08:00
splat-condvar.c splat: Cleanup headers 2012-11-06 14:48:56 -08:00
splat-cred.c splat: Cleanup headers 2012-11-06 14:48:56 -08:00
splat-ctl.c splat: Fix log buffer locking 2012-11-06 14:48:56 -08:00
splat-generic.c splat: Cleanup headers 2012-11-06 14:48:56 -08:00
splat-internal.h splat: Fix log buffer locking 2012-11-06 14:48:56 -08:00
splat-kmem.c splat: Cleanup headers 2012-11-06 14:48:56 -08:00
splat-kobj.c splat: Cleanup headers 2012-11-06 14:48:56 -08:00
splat-linux.c splat: Cleanup headers 2012-11-06 14:48:56 -08:00
splat-list.c splat: Cleanup headers 2012-11-06 14:48:56 -08:00
splat-mutex.c splat: Cleanup headers 2012-11-06 14:48:56 -08:00
splat-random.c splat: Cleanup headers 2012-11-06 14:48:56 -08:00
splat-rwlock.c splat: Cleanup headers 2012-11-06 14:48:56 -08:00
splat-taskq.c splat: Cleanup headers 2012-11-06 14:48:56 -08:00
splat-thread.c splat: Cleanup headers 2012-11-06 14:48:56 -08:00
splat-time.c splat: Cleanup headers 2012-11-06 14:48:56 -08:00
splat-vnode.c splat: Cleanup headers 2012-11-06 14:48:56 -08:00
splat-zlib.c splat: Cleanup headers 2012-11-06 14:48:56 -08:00