Messages in this thread | | | Date | Mon, 27 Oct 2008 14:17:39 +0100 | From | Ingo Molnar <> | Subject | Re: [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
| |