[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Fri, 12 Dec 2014 14:38:26 -0800
From: Vinson Lee <vlee@...pensource.com>
To: Andrew Morton <akpm@...ux-foundation.org>,
"Paul E. McKenney" <paulmck@...ux.vnet.ibm.com>,
Michal Hocko <mhocko@...e.cz>,
Josh Triplett <josh@...htriplett.org>,
Johannes Weiner <hannes@...xchg.org>,
Geert Uytterhoeven <geert@...ux-m68k.org>,
Fabian Frederick <fabf@...net.be>,
Bertrand Jacquin <beber@...eeweb.net>,
"Luis R. Rodriguez" <mcgrof@...e.com>,
Andy Lutomirski <luto@...capital.net>,
Pranith Kumar <bobby.prani@...il.com>,
Peter Foley <pefoley2@...oley.com>,
Clark Williams <clark.williams@...il.com>,
Mel Gorman <mgorman@...e.de>
Cc: linux-kernel@...r.kernel.org, Nate Stahl <stahl@...tter.com>,
Vinson Lee <vlee@...tter.com>
Subject: [PATCH] Increase maximum size of dmesg buffer to 16MB.
From: Nate Stahl <stahl@...tter.com>
A full task stack dump of all tasks on a machine can generate more than
4MB of output to dmesg. Dumping this data to the serial console causes
the machine to hang for a number of minutes (an unacceptable impact),
but dumping the same data to memory is feasible if the dmesg buffer is
sized large enough to hold the output. Set to 16MB which will hopefully
be large enough to handle a dump from any of our servers at this time.
Signed-off-by: Nate Stahl <stahl@...tter.com>
Signed-off-by: Vinson Lee <vlee@...tter.com>
---
init/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/init/Kconfig b/init/Kconfig
index 903505e..266a3e8 100644
--- a/init/Kconfig
+++ b/init/Kconfig
@@ -812,7 +812,7 @@ config IKCONFIG_PROC
config LOG_BUF_SHIFT
int "Kernel log buffer size (16 => 64KB, 17 => 128KB)"
- range 12 21
+ range 12 24
default 17
depends on PRINTK
help
--
1.9.1
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists