[PATCH 8/8] core-small: Shrink console buffer

From: Matt Mackall
Date: Fri Jan 21 2005 - 19:31:12 EST


CONFIG_CORE_SMALL reduce console transfer buffer

Signed-off-by: Matt Mackall <mpm@xxxxxxxxxxx>

Index: tiny-queue/include/linux/vt_kern.h
===================================================================
--- tiny-queue.orig/include/linux/vt_kern.h 2005-01-21 09:59:49.000000000 -0800
+++ tiny-queue/include/linux/vt_kern.h 2005-01-21 15:48:39.000000000 -0800
@@ -84,7 +84,11 @@
* 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
+#ifdef CONFIG_CORE_SMALL
+#define CON_BUF_SIZE 512
+#else
+#define CON_BUF_SIZE PAGE_SIZE
+#endif
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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/