lkml.org 
[lkml]   [2007]   [Dec]   [21]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateFri, 21 Dec 2007 07:17:28 +0000
FromAl Viro <>
SubjectRe: driver spin lock and files_lock deadlock question
On Thu, Dec 20, 2007 at 10:59:20PM -0800, Srinivas Kommu wrote:

> It seems this kind of a deadlock can happen with any kernel lock, not 
> just files_lock. What's the driver's mistake here? Is it wrong to call 
> remove_proc_entry() while holding another lock? What is the right thing 
> to do?

remove_proc_entry() is a blocking function...


\
 
 \ /
  Last update: 2007-12-21 08:23    [from the cache]
©2003-2008