Re: [PATCH] tty: cleanup duplicate functions in tty_buffer

From
Ivo Sieben <hidden>
Date
2012-09-25 11:28:36
Also in
linux-rt-users
Reply to
Alan Cox, 2012-09-24
Hi

2012/9/24 Alan Cox [off-list ref]:
flush_to_ldisc calls into the tty core code which sleeps. The rule is
that you may not call flush_to_ldisc except from a workqueue context.

If you break that rule then various bad things will occur (eg rx ->
flush_to_ldisc -> n_tty -> flow control -> tx -> deadlock) in a lot of
drivers.


Several of them are ones that shouldn't.
OK, I now understand what you mean with "pile that has needs to move
the other way"
I'll abandon this patch.

Thank you all for reviewing

Regards,
Ivo Sieben
Thread (6 messages) 6 messages, 4 authors, last reply 2012-09-25
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help