CONFIG_BASE_SMALL reduce console transfer buffer Signed-off-by: Matt Mackall <[EMAIL PROTECTED]>
Index: mm2/include/linux/vt_kern.h =================================================================== --- mm2.orig/include/linux/vt_kern.h 2005-01-30 21:26:28.000000000 -0800 +++ mm2/include/linux/vt_kern.h 2005-01-30 21:51:19.000000000 -0800 @@ -84,7 +84,8 @@ * vc_screen.c shares this temporary buffer with the console write code so that * we can easily avoid touching user space while holding the console spinlock. */ -#define CON_BUF_SIZE PAGE_SIZE + +#define CON_BUF_SIZE (CONFIG_BASE_SMALL ? 256 : PAGE_SIZE) extern char con_buf[CON_BUF_SIZE]; extern struct semaphore con_buf_sem; - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/