Re: [PATCH 1/4] printk: Allocate kernel log buffer earlier
From: Ingo Molnar <hidden>
Date: 2011-02-27 12:15:37
Also in:
lkml
From: Ingo Molnar <hidden>
Date: 2011-02-27 12:15:37
Also in:
lkml
* Ingo Molnar [off-list ref] wrote:
You could avoid all this ugly workaround of bootmem limitations by moving the allocation to memblock_alloc() and desupporting the log_buf_len= boot parameter on non-memblock architectures.
memblock_alloc() could return -ENOSYS on architectures that do not implement it - thus enabling such optional features without ugly #ifdef CONFIG_HAVE_MEMBLOCK conditionals. Thanks, Ingo