lkml.org 
[lkml]   [2011]   [Feb]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 1/4] printk: Allocate kernel log buffer earlier

* Ingo Molnar <mingo@elte.hu> 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


\
 
 \ /
  Last update: 2011-02-27 13:17    [W:0.143 / U:1.368 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site