From c5cbf3fc1fb7a76ab48424581b5c212e1b66f9e4 Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Mon, 4 Jan 2010 07:28:12 +0100 Subject: [PATCH] stdin: Increase buffer size. This seems to make a big difference, the buffer size should definitely be configurable. --- stdin.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stdin.c b/stdin.c index d978ee9a..c8ee808f 100644 --- 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); -- 2.39.5