diff options
author | Marcus Brinkmann <marcus@gnu.org> | 2004-03-05 22:50:41 +0000 |
---|---|---|
committer | Marcus Brinkmann <marcus@gnu.org> | 2004-03-05 22:50:41 +0000 |
commit | 6f10d4f6fe25e37efabf45c3a6b5cf573f4bd66c (patch) | |
tree | d7d9c095f932a1528ca0e43d50717ddf43d20368 /term/term.h | |
parent | ac1cab88f6e43ece947ef2e212f0a732f9c39d81 (diff) | |
download | hurd-6f10d4f6fe25e37efabf45c3a6b5cf573f4bd66c.tar.gz hurd-6f10d4f6fe25e37efabf45c3a6b5cf573f4bd66c.tar.bz2 hurd-6f10d4f6fe25e37efabf45c3a6b5cf573f4bd66c.zip |
2004-03-05 Marcus Brinkmann <marcus@gnu.org>
* term.h (QUEUE_LOWAT): Increase to 200.
(QUEUE_HIWAT): Increase to 8100.
Diffstat (limited to 'term/term.h')
-rw-r--r-- | term/term.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/term/term.h b/term/term.h index 28f4fe10..8448d78e 100644 --- a/term/term.h +++ b/term/term.h @@ -80,8 +80,12 @@ long termflags; #define NO_OWNER 0x00000200 /* there is no foreground_id */ #define ICKY_ASYNC 0x00000400 /* some user has set O_ASYNC */ -#define QUEUE_LOWAT 100 -#define QUEUE_HIWAT 300 +/* Use a high watermark that allows about as much input as once as + other operating systems do. Using something just a bit smaller + than a power of 2 helps to make maximum use of the buffer and avoid + reallocation for just a few bytes. */ +#define QUEUE_LOWAT 200 +#define QUEUE_HIWAT 8100 /* Global lock */ struct mutex global_lock; |