Can kmem_cache_free block?

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: lkml <linux-kernel@...>
Date: Friday, March 28, 2008 - 3:23 pm

Is kmem_cache_free safe to call while holding a spinlock (can
kmem_cache_free ever block or recurse into a file system)?

I see it trying to grab just another spinlock which is probably fine
(but was worried whether any of the worker functions called a sem) ...
my assumption is that it would be safe, but the man page doesn't
mention when it can be used safely.

-- 
Thanks,

Steve
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Can kmem_cache_free block?, Steve French, (Fri Mar 28, 3:23 pm)
Re: Can kmem_cache_free block?, Nick Piggin, (Fri Mar 28, 9:15 pm)