CONFIG_UNIX98_PTY_COUNT and devfs

From: Frédéric L. W. Meunier
Date: Tue Dec 16 2003 - 22:45:53 EST


I used CONFIG_UNIX98_PTY_COUNT=32 and it created
/dev/pty/m[0-255]. Is there any way to make devfs only create
/dev/pty/m[0-31] ?

>From Configure.help:

"When not in use, each additional set of 256 PTYs occupy
approximately 8 KB of kernel memory on 32-bit architectures."

Does that mean it doesn't make any difference if I set
CONFIG_UNIX98_PTY_COUNT=1 or CONFIG_UNIX98_PTY_COUNT=256, and
ONFIG_UNIX98_PTY_COUNT=257 will create 512 entries ?

--
http://www.pervalidus.net/contact.html
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/