Thread (6 messages) 6 messages, 4 authors, 2012-09-25

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

From: Ivo Sieben <hidden>
Date: 2012-09-25 11:28:36
Also in: linux-serial

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help