Re: futex hang with rpm in 2.6.17.1-2174_FC5

From: Ulrich Drepper
Date: Sat Oct 21 2006 - 17:59:44 EST


On 10/21/06, Ben Greear <greearb@xxxxxxxxxxxxxxx> wrote:
Well, you can do tricks with file handles so that they are automatically
closed/deleted when
a process exits, even with kill -9.

Nope, that cannot work. The lock object must be visible in the
filesystem space.

The correct solution would be to use robust mutexes. But, as Dave
said, it's easier said than implemented in rpm.
-
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/