lkml.org 
[lkml]   [2008]   [Oct]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] UV: memory allocation at initialization

* Cliff Wickman <cpw@sgi.com> wrote:

> From: Cliff Wickman <cpw@sgi.com>
>
> UV initialization is currently called too late to call alloc_bootmem_pages().
> The current sequence is:
>
> start_kernel()
> mem_init()
> free_all_bootmem() <--- discard of bootmem
> rest_init()
> kernel_init()
> smp_prepare_cpus()
> native_smp_prepare_cpus()
> uv_system_init() <--- uses alloc_bootmem_pages()
>
> It should be calling kmalloc().
>
> Diffed against 2.6.27 (linux-next)
>
> Signed-off-by: Cliff Wickman <cpw@sgi.com>
> ---
> arch/x86/kernel/genx2apic_uv_x.c | 7 +++----
> 1 file changed, 3 insertions(+), 4 deletions(-)

applied to tip/x86/urgent, thanks Cliff!

Ingo


\
 
 \ /
  Last update: 2008-10-27 14:21    [W:0.033 / U:0.136 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site