projects
/
paraslash.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aa3c8a3
)
stdin: Increase buffer size.
author
Andre Noll
<maan@systemlinux.org>
Mon, 4 Jan 2010 06:28:12 +0000
(07:28 +0100)
committer
Andre Noll
<maan@systemlinux.org>
Mon, 4 Jan 2010 06:28:12 +0000
(07:28 +0100)
This seems to make a big difference, the buffer size should definitely
be configurable.
stdin.c
patch
|
blob
|
history
diff --git
a/stdin.c
b/stdin.c
index
d978ee9
..
c8ee808
100644
(file)
--- a/
stdin.c
+++ b/
stdin.c
@@
-101,7
+101,7
@@
static void stdin_post_select(struct sched *s, struct task *t)
t->error = -E_STDIN_EOF;
}
-#define STDIN_INPUT_BUFFER_SIZE
4000
+#define STDIN_INPUT_BUFFER_SIZE
(1024 * 32)
static void stdin_post_select_btr(struct sched *s, struct task *t)
{
struct stdin_task *sit = container_of(t, struct stdin_task, task);