lkml.org 
[lkml]   [2008]   [Mar]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectCan kmem_cache_free block?
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


\
 
 \ /
  Last update: 2008-03-28 20:25    [W:0.068 / U:0.140 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site