mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Can kmem_cache_free block?
@ 2008-03-28 19:23 Steve French
  2008-03-29  1:15 ` Nick Piggin
  0 siblings, 1 reply; 2+ messages in thread
From: Steve French @ 2008-03-28 19:23 UTC (permalink / raw)
  To: lkml

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-03-29  1:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-03-28 19:23 Can kmem_cache_free block? Steve French
2008-03-29  1:15 ` Nick Piggin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®