aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/tty.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/tty.h b/include/linux/tty.h
index 55964b9490dd..fe5623c9af71 100644
--- a/include/linux/tty.h
+++ b/include/linux/tty.h
@@ -25,6 +25,9 @@
25 * 25 *
26 * legacy_mutex - Nested tty locks are necessary for releasing pty pairs. 26 * legacy_mutex - Nested tty locks are necessary for releasing pty pairs.
27 * The stable lock order is master pty first, then slave pty. 27 * The stable lock order is master pty first, then slave pty.
28 * termios_rwsem - The stable lock order is tty_buffer lock->termios_rwsem.
29 * Subclassing this lock enables the slave pty to hold its
30 * termios_rwsem when claiming the master tty_buffer lock.
28 * tty_buffer lock - slave ptys can claim nested buffer lock when handling 31 * tty_buffer lock - slave ptys can claim nested buffer lock when handling
29 * signal chars. The stable lock order is slave pty, then 32 * signal chars. The stable lock order is slave pty, then
30 * master. 33 * master.