Re: open() on /dev/tty takes 30 seconds on 2.6.36

From: Alan Cox
Date: Mon Nov 01 2010 - 16:47:26 EST


> I think we need to find out why it's hitting the timeout most of all,

Its a perfectly normal happening in some cases - eg when you the remote
end asserts flow control and then hangs up on you leaving it that way.

So we need to handle this by dropping locks correctly.
--
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/