Re: 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?