Subject: Re: CVS commit: syssrc
To: None <>
From: Bernd Ernesti <>
List: tech-kern
Date: 09/09/2000 19:13:57
On Sat Sep  9 18:42:07 2000, Jaromir Dolecek wrote:
> Module Name:	syssrc
> Committed By:	jdolecek
> Date:		Sat Sep  9 16:42:06 UTC 2000
> Modified Files:
> 	syssrc/sys/kern: kern_sysctl.c tty_pty.c
> 	syssrc/sys/sys: sysctl.h
> Log Message:
> allocate pty kernel structures on demand at run-time - this allows
> to support arbitrary number of ptys without need of kernel recompile
> (the extra device special files in /dev/ still need to be created, of course)
> upper limit of supported ptys is controlled via new sysctl variable
> kern.maxptys (KERN_MAXPTYS), which is raise-only and defaults to 512.

Hmmm, i think it would be better to put the define of DEFAULT_MAXPTYS in
an ifndef DEFAULT_MAXPTYS so one can use 'options DEFAULT_MAXPTYS 64' to 
limit it in the kernel config.

Should we also add that in an opt_xxx.h file and add a def in sys/conf/files 
for it?