Re: processes hung after sys_renameat, and 'missing' processes

From: Peter Zijlstra
Date: Mon Jun 04 2012 - 05:36:30 EST


On Mon, 2012-06-04 at 01:20 +0100, Al Viro wrote:
>
> Another question re lockdep - does it scream loudly if process returns
> to userland without having released some lock? I hope so, but I've never
> checked that... ;-/

It does, on some archs. git grep lockdep_sys_exit, suggests x86 and
s390.

http://www.google.com/search?q=lock+held+when+returning+to+user+space

will find you people who tripped it ;-) There's a few filesystems that
did various vile things on freeze or so.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/