tty_ldisc: add more limits to the @write_wakeup
[linux-2.6-microblaze.git] / include / linux / tty_ldisc.h
index add26da..00c9d68 100644 (file)
  *     This function is called by the low-level tty driver to signal
  *     that line discpline should try to send more characters to the
  *     low-level driver for transmission.  If the line discpline does
- *     not have any more data to send, it can just return.
+ *     not have any more data to send, it can just return. If the line
+ *     discipline does have some data to send, please arise a tasklet
+ *     or workqueue to do the real data transfer. Do not send data in
+ *     this hook, it may leads to a deadlock.
  *
  * int (*hangup)(struct tty_struct *)
  *