Re: BUG: lock held when returning to user space

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Jiri Kosina <jikos@...>
Cc: Gabriel C <nix.or.die@...>, <a.zummo@...>, Linux Kernel Mailing List <linux-kernel@...>, Andrew Morton <akpm@...>, <rtc-linux@...>, Peter Zijlstra <a.p.zijlstra@...>
Date: Saturday, October 27, 2007 - 11:47 am

On Sat, 27 Oct 2007 17:12:41 +0200 (CEST)
Jiri Kosina <jikos@jikos.cz> wrote:


it's not about lockdep; what this code doing is not valid use of a
mutex:
A mutex is required to have a clear process as owner, and in this case
it doesn't have that... at all. This is a violation of the kernel mutex
semantics.. and should be fixed.


the preferred method is to not use a mutex like this...


-- 
If you want to reach me at my work email, use arjan@linux.intel.com
For development, discussion and tips for power savings, 
visit http://www.lesswatts.org
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
BUG: lock held when returning to user space, Gabriel C, (Sat Oct 27, 10:19 am)
Re: BUG: lock held when returning to user space, Jiri Kosina, (Sat Oct 27, 11:12 am)
Re: BUG: lock held when returning to user space, Arjan van de Ven, (Sat Oct 27, 11:47 am)
Re: BUG: lock held when returning to user space, Peter Zijlstra, (Sat Oct 27, 12:09 pm)
Re: BUG: lock held when returning to user space, Arjan van de Ven, (Sat Oct 27, 1:05 pm)
Re: BUG: lock held when returning to user space, Peter Zijlstra, (Sat Oct 27, 11:28 am)
Re: BUG: lock held when returning to user space, Jiri Kosina, (Sat Oct 27, 6:47 pm)
Re: BUG: lock held when returning to user space, Linus Torvalds, (Sat Oct 27, 12:35 pm)
Re: BUG: lock held when returning to user space, Andrew Morton, (Sat Oct 27, 11:46 am)
Re: BUG: lock held when returning to user space, Jiri Kosina, (Sun Oct 28, 7:12 am)
Re: BUG: lock held when returning to user space, Alessandro Zummo, (Mon Oct 29, 8:20 am)