shithub: riscv

Download patch

ref: 548f7f971f5938c1b54481e0542d5b19e0fe37de
parent: 718f1adb27d2927f6319fd94b66173ea39cd98cc
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,