git: 9front

Download patch

ref: 7e50a43737f7b73b523b3766337261471dde0b7a
parent: 06752c7950cc1b773bb6768ac5c0cdf36de7ed65
author: ori <ori@cleaver>
date: Thu Jan 1 11:43:24 EST 2009

bio: revert Bsize bump to avoid blowing libthread

libthread stacks are small, and many programs put a
biobuf on the stack; revert the buffer size bump
until this is handled correctly.

--- a/sys/include/bio.h
+++ b/sys/include/bio.h
@@ -6,7 +6,7 @@
 
 enum
 {
-	Bsize		= IOUNIT,
+	Bsize		= 8192,
 	Bungetsize	= UTFmax+1,	/* space for ungetc */
 	Bmagic		= 0x314159,
 	Beof		= -1,
--