* modules/spl/spl-kmem.c : Make sure to disable interrupts

when necessary to avoid deadlocks.  We were seeing the deadlock
        when calling kmem_cache_generic_constructor() and then an interrupt
        forced us to end up calling kmem_cache_generic_destructor()
        which caused our deadlock.


git-svn-id: https://outreach.scidac.gov/svn/spl/trunk@74 7e1ea52c-4ff2-0310-8f11-9dd32ca42a1c
This commit is contained in:
wartens2
2008-04-16 16:37:51 +00:00
parent d61e12af5a
commit 55152ebbb4
2 changed files with 29 additions and 14 deletions
+8
View File
@@ -1,3 +1,11 @@
2008-04-16 Herb Wartens <wartens2@llnl.gov>
* modules/spl/spl-kmem.c : Make sure to disable interrupts
when necessary to avoid deadlocks. We were seeing the deadlock
when calling kmem_cache_generic_constructor() and then an interrupt
forced us to end up calling kmem_cache_generic_destructor()
which caused our deadlock.
2008-02-26 Brian Behlendorf <behlendorf1@llnl.gov>
: Initial commit of the solaris porting layer (spl). Included