1
0
Fork 0
alistair23-linux/arch
Mike Travis 162a7e7500 printk: allocate kernel log buffer earlier
On larger systems, because of the numerous ACPI, Bootmem and EFI messages,
the static log buffer overflows before the larger one specified by the
log_buf_len param is allocated.  Minimize the overflow by allocating the
new log buffer as soon as possible.

On kernels without memblock, a later call to setup_log_buf from
kernel/init.c is the fallback.

[akpm@linux-foundation.org: coding-style fixes]
[akpm@linux-foundation.org: fix CONFIG_PRINTK=n build]
Signed-off-by: Mike Travis <travis@sgi.com>
Cc: Yinghai Lu <yhlu.kernel@gmail.com>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Cc: Jack Steiner <steiner@sgi.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2011-05-25 08:39:48 -07:00
..
alpha Remove unused PROC_CHANGE_PENALTY constant 2011-05-25 08:39:43 -07:00
arm Remove unused PROC_CHANGE_PENALTY constant 2011-05-25 08:39:43 -07:00
avr32 mm: now that all old mmu_gather code is gone, remove the storage 2011-05-25 08:39:16 -07:00
blackfin Merge branch 'for-2.6.40' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/percpu 2011-05-24 11:53:42 -07:00
cris cris: convert old cpumask API into new one 2011-05-25 08:39:39 -07:00
frv mm: now that all old mmu_gather code is gone, remove the storage 2011-05-25 08:39:16 -07:00
h8300 genirq: Remove the now obsolete config options and select statements 2011-03-30 14:13:23 +02:00
ia64 mm: now that all old mmu_gather code is gone, remove the storage 2011-05-25 08:39:16 -07:00
m32r Remove unused PROC_CHANGE_PENALTY constant 2011-05-25 08:39:43 -07:00
m68k mm: now that all old mmu_gather code is gone, remove the storage 2011-05-25 08:39:16 -07:00
microblaze mm: now that all old mmu_gather code is gone, remove the storage 2011-05-25 08:39:16 -07:00
mips mm: now that all old mmu_gather code is gone, remove the storage 2011-05-25 08:39:16 -07:00
mn10300 mn10300: convert old cpumask API into new one 2011-05-25 08:39:39 -07:00
parisc Remove unused PROC_CHANGE_PENALTY constant 2011-05-25 08:39:43 -07:00
powerpc mm, powerpc: move the RCU page-table freeing into generic code 2011-05-25 08:39:16 -07:00
s390 mm: now that all old mmu_gather code is gone, remove the storage 2011-05-25 08:39:16 -07:00
score mm: now that all old mmu_gather code is gone, remove the storage 2011-05-25 08:39:16 -07:00
sh mm: now that all old mmu_gather code is gone, remove the storage 2011-05-25 08:39:16 -07:00
sparc mm: now that all old mmu_gather code is gone, remove the storage 2011-05-25 08:39:16 -07:00
tile mm: now that all old mmu_gather code is gone, remove the storage 2011-05-25 08:39:16 -07:00
um Remove unused PROC_CHANGE_PENALTY constant 2011-05-25 08:39:43 -07:00
unicore32 mm: now that all old mmu_gather code is gone, remove the storage 2011-05-25 08:39:16 -07:00
x86 printk: allocate kernel log buffer earlier 2011-05-25 08:39:48 -07:00
xtensa mm: now that all old mmu_gather code is gone, remove the storage 2011-05-25 08:39:16 -07:00
.gitignore
Kconfig mm, powerpc: move the RCU page-table freeing into generic code 2011-05-25 08:39:16 -07:00