Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Aug 2008 21:35:06 GMT
From:      Ed Schouten <ed@FreeBSD.org>
To:        Perforce Change Reviews <perforce@FreeBSD.org>
Subject:   PERFORCE change 148054 for review
Message-ID:  <200808212135.m7LLZ6jD023826@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=148054

Change 148054 by ed@ed_flippo on 2008/08/21 21:34:30

	It's a lot safer if we pick a buffer size that's bigger than the
	output buffer size of a common TTY.

Affected files ...

.. //depot/projects/mpsafetty/sys/dev/snp/snp.c#10 edit

Differences ...

==== //depot/projects/mpsafetty/sys/dev/snp/snp.c#10 (text+ko) ====

@@ -49,7 +49,7 @@
 static MALLOC_DEFINE(M_SNP, "snp", "tty snoop device");
 
 #define SNP_INPUT_BUFSIZE	16	/* For uiomove(). */
-#define SNP_OUTPUT_BUFSIZE	4096	/* For the ttyoutq. */
+#define SNP_OUTPUT_BUFSIZE	16384	/* For the ttyoutq. */
 
 static d_open_t		snp_open;
 static d_read_t		snp_read;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200808212135.m7LLZ6jD023826>