]> git.proxmox.com Git - mirror_spl-debian.git/commit - modules/spl/spl-kmem.c
- Add some spinlocks to cover all the private data in the mutex. I don't
authorbehlendo <behlendo@7e1ea52c-4ff2-0310-8f11-9dd32ca42a1c>
Tue, 15 Apr 2008 20:53:36 +0000 (20:53 +0000)
committerbehlendo <behlendo@7e1ea52c-4ff2-0310-8f11-9dd32ca42a1c>
Tue, 15 Apr 2008 20:53:36 +0000 (20:53 +0000)
commitd61e12af5af3ca6ba92a1b208e33c4e6cb99c9a3
tree6a0e9044fb54022447352e099f31fb927331c57f
parentc5fd77fcbf20f19a4690c535be494dcf474a0649
- Add some spinlocks to cover all the private data in the mutex.  I don't
think this should fix anything but it's a good idea regardless.

- Drop the lock before calling the construct/destructor for the slab
otherwise we can't sleep in a constructor/destructor and for long running
functions we may NMI.

- Do something braindead, but safe for the console debug logs for now.

git-svn-id: https://outreach.scidac.gov/svn/spl/trunk@73 7e1ea52c-4ff2-0310-8f11-9dd32ca42a1c
include/sys/mutex.h
modules/spl/spl-generic.c
modules/spl/spl-kmem.c