public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* CONFIG_UNIX98_PTY_COUNT and devfs
@ 2003-12-17  3:37 Frédéric L. W. Meunier
  2003-12-18  3:24 ` H. Peter Anvin
  0 siblings, 1 reply; 2+ messages in thread
From: Frédéric L. W. Meunier @ 2003-12-17  3:37 UTC (permalink / raw)
  To: linux-kernel

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-12-18  3:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-12-17  3:37 CONFIG_UNIX98_PTY_COUNT and devfs Frédéric L. W. Meunier
2003-12-18  3:24 ` H. Peter Anvin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox