Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1763275AbYA1WSU (ORCPT ); Mon, 28 Jan 2008 17:18:20 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1762577AbYA1WL6 (ORCPT ); Mon, 28 Jan 2008 17:11:58 -0500 Received: from smtp4.pp.htv.fi ([213.243.153.38]:52324 "EHLO smtp4.pp.htv.fi" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1762540AbYA1WL5 (ORCPT ); Mon, 28 Jan 2008 17:11:57 -0500 Date: Tue, 29 Jan 2008 00:12:23 +0200 From: Adrian Bunk To: linux-kernel@vger.kernel.org Subject: [2.6 patch] let LOG_BUF_SHIFT default to 17 Message-ID: <20080128221223.GE8767@does.not.exist> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline User-Agent: Mutt/1.5.17+20080114 (2008-01-14) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1359 Lines: 46 16 kB is often no longer enough for a normal boot of an UP system. And even less when people e.g. use suspend. 17 seems to be a more reasonable default for current kernels on current hardware (it's just the default, anyone who is memory limited can still lower it). Signed-off-by: Adrian Bunk --- f02213e3c1cb90ec1c66227f037110d489f30bfd diff --git a/init/Kconfig b/init/Kconfig index 0eda68f..81a1255 100644 --- a/init/Kconfig +++ b/init/Kconfig @@ -272,17 +272,14 @@ config IKCONFIG_PROC config LOG_BUF_SHIFT int "Kernel log buffer size (16 => 64KB, 17 => 128KB)" range 12 21 - default 17 if S390 || LOCKDEP - default 16 if X86_NUMAQ || IA64 - default 15 if SMP - default 14 + default 17 help Select kernel log buffer size as a power of 2. - Defaults and Examples: - 17 => 128 KB for S/390 - 16 => 64 KB for x86 NUMAQ or IA-64 - 15 => 32 KB for SMP - 14 => 16 KB for uniprocessor + Examples: + 17 => 128 KB + 16 => 64 KB + 15 => 32 KB + 14 => 16 KB 13 => 8 KB 12 => 4 KB -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/