Re: [PATCH] tty races

From: Andrew Morton
Date: Tue May 03 2005 - 20:27:21 EST


Jason Baron <jbaron@xxxxxxxxxx> wrote:
>
> The patch I proposed fixes the open vs. open race using the tty_sem. The
> open vs. close race is closed by removing locking. Less locking seems
> better to me.

But the additional locking is only temporary. Once we thing the tty_sem
converage is complete, the lock_kernel()s get removed.

> If you're still not happy, I'll wrap the close path in the tty_sem...

Would be appreciated, please.
-
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/