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

From: Linus Torvalds
Date: Thu Jun 07 2012 - 20:42:19 EST


On Thu, Jun 7, 2012 at 5:36 PM, Al Viro <viro@xxxxxxxxxxxxxxxxxx> wrote:
>
> Frankly, I would very much prefer to have the same locking rules wherever
> possible.  The locking system is already overcomplicated and making its
> analysis fs-dependent as well... <shudder>

I do agree that it would be better if we avoid it. I was just trying
to explain that the dentry locking is *not* enough, for the simple
reason that it relies on upper-level non-dentry locking just to work.

Your patch looks good, but whether it works I have no idea ;)

Linus
--
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/