lkml.org 
[lkml]   [2011]   [Mar]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 2/2] printk: Allocate kernel log buffer earlier v2

* Mike Travis <travis@sgi.com> wrote:

> Subject: printk: Allocate kernel log buffer earlier v2
>
> 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.
>
> The allocation method is passed in as an argument to make
> backporting to "pre-memblock" kernels easier.

Hm, all that allocation pointer magic looks a tad too complex and non-obvious.

Why not just make it as simple and obvious as possible for the current kernel -
and we can still mark it -stable and you backport it to the non-memblock
kernel? That keeps compatibility complexity out of upstream ...

Thanks,

Ingo


\
 
 \ /
  Last update: 2011-03-31 08:51    [W:0.232 / U:1.484 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site