Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/kern Kick DEFAULT_MAXPTYS from 256 to 992



details:   https://anonhg.NetBSD.org/src/rev/0164582ce578
branches:  trunk
changeset: 521616:0164582ce578
user:      tls <tls%NetBSD.org@localhost>
date:      Sat Feb 02 07:18:55 2002 +0000

description:
Kick DEFAULT_MAXPTYS from 256 to 992

diffstat:

 sys/kern/tty_pty.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 2566cab37b4e -r 0164582ce578 sys/kern/tty_pty.c
--- a/sys/kern/tty_pty.c        Sat Feb 02 07:04:44 2002 +0000
+++ b/sys/kern/tty_pty.c        Sat Feb 02 07:18:55 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: tty_pty.c,v 1.57 2001/11/12 15:25:28 lukem Exp $       */
+/*     $NetBSD: tty_pty.c,v 1.58 2002/02/02 07:18:55 tls Exp $ */
 
 /*
  * Copyright (c) 1982, 1986, 1989, 1993
@@ -41,7 +41,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: tty_pty.c,v 1.57 2001/11/12 15:25:28 lukem Exp $");
+__KERNEL_RCSID(0, "$NetBSD: tty_pty.c,v 1.58 2002/02/02 07:18:55 tls Exp $");
 
 #include "opt_compat_sunos.h"
 
@@ -61,7 +61,7 @@
 #include <sys/malloc.h>
 
 #define        DEFAULT_NPTYS           16      /* default number of initial ptys */
-#define DEFAULT_MAXPTYS                256     /* default maximum number of ptys */
+#define DEFAULT_MAXPTYS                992     /* default maximum number of ptys */
 
 /* Macros to clear/set/test flags. */
 #define        SET(t, f)       (t) |= (f)



Home | Main Index | Thread Index | Old Index