]> git.baikalelectronics.ru Git - kernel.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)
commit03275388987bb822c67f7924d8dbbc0ddef3d763
tree1b4ec23c3e2e71813a333d940e02fecc32c13c80
parent5c58d84f4998ad06960c7a7c8cfa5092481d5c32
TTY, devpts: document pty count limiting

Logic has been changed in kernel 3.4 by commit 62a30725f2ff
("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