]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
TTY, devpts: document pty count limiting
authorKonstantin Khlebnikov <khlebnikov@yandex-team.ru>
Sun, 21 Feb 2016 07:06:14 +0000 (10:06 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 8 Mar 2016 00:11:14 +0000 (16:11 -0800)
commit8b253b07e990ca453f31503aacb29004f2a87364
tree1b4ec23c3e2e71813a333d940e02fecc32c13c80
parent465893e18878e119d8d0255439fad8debbd646fd
TTY, devpts: document pty count limiting

Logic has been changed in kernel 3.4 by commit e9aba5158a80
("tty: rework pty count limiting") but still not documented.

Sysctl kernel.pty.max works as global limit, kernel.pty.reserve ptys
are reserved for initial devpts instance (mounted without "newinstance").
Per-instance limit also could be set by mount option "max=%d".

Signed-off-by: Konstantin Khlebnikov <khlebnikov@yandex-team.ru>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Documentation/filesystems/devpts.txt
Documentation/sysctl/kernel.txt