Commit d01e7780 authored by Alan Cox's avatar Alan Cox Committed by Linus Torvalds

[PATCH] Document a "don't do that" case for the tty layer

parent 1274fcd6
...@@ -93,6 +93,11 @@ write_wakeup() - May be called at any point between open and close. ...@@ -93,6 +93,11 @@ write_wakeup() - May be called at any point between open and close.
ldisc must be careful about setting order and to ldisc must be careful about setting order and to
handle unexpected calls. Must not sleep. handle unexpected calls. Must not sleep.
The driver is forbidden from calling this directly
from the ->write call from the ldisc as the ldisc
is permitted to call the driver write method from
this function. In such a situation defer it.
Locking Locking
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment