Commit f17a32e9 authored by Adrian Bunk's avatar Adrian Bunk Committed by Linus Torvalds

let LOG_BUF_SHIFT default to 17

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: default avatarAdrian Bunk <bunk@kernel.org>
Acked-by: default avatarRandy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent d5470b59
...@@ -259,17 +259,14 @@ config IKCONFIG_PROC ...@@ -259,17 +259,14 @@ config IKCONFIG_PROC
config LOG_BUF_SHIFT config LOG_BUF_SHIFT
int "Kernel log buffer size (16 => 64KB, 17 => 128KB)" int "Kernel log buffer size (16 => 64KB, 17 => 128KB)"
range 12 21 range 12 21
default 17 if S390 || LOCKDEP default 17
default 16 if X86_NUMAQ || IA64
default 15 if SMP
default 14
help help
Select kernel log buffer size as a power of 2. Select kernel log buffer size as a power of 2.
Defaults and Examples: Examples:
17 => 128 KB for S/390 17 => 128 KB
16 => 64 KB for x86 NUMAQ or IA-64 16 => 64 KB
15 => 32 KB for SMP 15 => 32 KB
14 => 16 KB for uniprocessor 14 => 16 KB
13 => 8 KB 13 => 8 KB
12 => 4 KB 12 => 4 KB
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment