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@...>, Ingo Molnar <mingo@...>, Linus Torvalds <torvalds@...>
Date: Saturday, October 27, 2007 - 11:28 am

On Sat, 2007-10-27 at 17:12 +0200, Jiri Kosina wrote:

Not sure, I'd not thought that anyone would actually want to do this.
I'm also not sure how I stand on this, I'd prefer to say: don't do this!

I think, in this case, the lock is associated with a kernel object that
is properly cleaned up if the holding tasks gets a SIGKILL. But in
general I'd like to see this kind of thing go away.

Now I could probably come up with an annotation to hide it, but what do
other people think, Ingo, Linus, Andrew, do we want to keep kernel locks
held over userspace?



-
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)