lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20081027131739.GE25371@elte.hu>
Date:	Mon, 27 Oct 2008 14:17:39 +0100
From:	Ingo Molnar <mingo@...e.hu>
To:	Cliff Wickman <cpw@....com>
Cc:	linux-kernel@...r.kernel.org, Thomas Gleixner <tglx@...utronix.de>,
	"H. Peter Anvin" <hpa@...or.com>
Subject: Re: [PATCH] UV: memory allocation at initialization


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

> From: Cliff Wickman <cpw@....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@....com>
> ---
>  arch/x86/kernel/genx2apic_uv_x.c |    7 +++----
>  1 file changed, 3 insertions(+), 4 deletions(-)

applied to tip/x86/urgent, thanks Cliff!

	Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ