Re: [PATCH 1/4] printk: Allocate kernel log buffer earlier

From: Ingo Molnar
Date: Sun Feb 27 2011 - 07:15:49 EST

* Ingo Molnar <mingo@xxxxxxx> 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


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at