PERFORCE change 148054 for review
Ed Schouten
ed at FreeBSD.org
Thu Aug 21 21:35:06 UTC 2008
http://perforce.freebsd.org/chv.cgi?CH=148054
Change 148054 by ed at 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;
More information about the p4-projects
mailing list