HomeFreeBSD

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

Description

  • 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

Event Timeline

wartens2 <wartens2@7e1ea52c-4ff2-0310-8f11-9dd32ca42a1c> committed rG55152ebbb46f: * modules/spl/spl-kmem.c : Make sure to disable interrupts (authored by wartens2 <wartens2@7e1ea52c-4ff2-0310-8f11-9dd32ca42a1c>).Apr 16 2008, 4:37 PM